Skip to content

Fix type inferencing for method with unresolvable type parameter(s) #1226

@eric-milles

Description

@eric-milles

Consider the following:

def list = Collections.emptyList()
def map = ['foo'].collectEntries { [it, it.length()] }

The source and the target together do not provide enough type information to resolve each method's type parameters. This results in placeholders in the inferred result type.

image

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions