Skip to content

Fix type inferencing and syntax highlighting for parameters of closure static method arguments #1096

@eric-milles

Description

@eric-milles

Follow up to #1095. Consider the following:

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

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

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions