Skip to content

Code assist does not add necessary "this" qualifier when completing property proposals in static context #374

@eric-milles

Description

@eric-milles
class Foo {
  static {
    canNam|
  }
}

Completion of canonicalName proposal from Class at '|' does not insert necessary this. qualifier. This results in the following compiler error: "Groovy:Apparent variable 'canonicalName' was found in a static scope but doesn't refer to a local variable, static field or class."

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions