Skip to content

Fix type inferencing and syntax highlighting for method references as method call arguments #1194

@eric-milles

Description

@eric-milles

Consider the following:

Optional.of(123).map(Arrays::asList).map(list -> ...)

The inferred return type of the first call to map and therefore the type of list in the subsequent call is incomplete due to the method reference Arrays::asList.

image

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions