Skip to content

Fix type inferencing for type-checked anonymous inner class #1523

@eric-milles

Description

@eric-milles

Consider the following:

@groovy.transform.TypeChecked
void test() {
  def obj = new Object() {}
}

Code hover for "obj" displays "1 obj" instead of "Object obj".

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions