Skip to content

Fix type inferencing, syntax highlighting and code navigation for method call with complex argument expression #1214

@eric-milles

Description

@eric-milles

Consider the following:

class Pogo {
  Date date
}
void test(Pogo[] array) {
  array.sort(true, Comparator.<Pogo,Date>comparing({it.date}).reversed())
}

"sort" extension method is shown as unknown (underlined) because the method call argument "...reversed()" has a non-trivial object expression.

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions