Skip to content

Fix type inferencing and syntax highlighting for parameters of closure constructor arguments #1095

@eric-milles

Description

@eric-milles

Consider the following:

class Pogo {
  Pogo(String s, Comparable<List<Integer>> c) {
  }
}
new Pogo('', { list -> ... })

Inferred type of "list" is Object instead of List<Integer>.

image

Method call variation for comparison:
image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions