Skip to content

Fix syntax highlighting of static final property accessed from outside of declaring class #875

@eric-milles

Description

@eric-milles

Consider the following:

class C {
  static final VALUE = 'value'
  static def foo() {
    VALUE
  }
  static class Inner {
    static def bar() {
      VALUE
    }
  }
}

class Outer {
  def baz = C.VALUE
}

Occurrences of VALUE in Inner and Outer are highlighted as non-final. They should be highlighted as final (same as VALUE on lines 2 and 4).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions