Skip to content

Fix type inferencing of static reference to instance method in Groovy 3 #878

@eric-milles

Description

@eric-milles

Consider the following:

Closure<String> closure = String.&toUpperCase
Function<String, String> function = String::toUpperCase

These expressions are supported starting in Groovy 3. Type inferencing shows them as unknown (underlined in the editor).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions