Skip to content

Fix type inferencing and syntax highlighting for trait static method referenced from static method #1530

@eric-milles

Description

@eric-milles

Consider the following:

trait T {
  static one() {
  }
  static two() {
    one()
  }
}

GROOVY-8824 introduced a new method call transformation. "one()" is replaced by "this.one($static$self)". This results in "one" being highlighted as unknown (underlined).

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions