Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
eric-milles opened this issue Apr 26, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@eric-milles
Copy link
Member

eric-milles commented Apr 26, 2019

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).

@eric-milles eric-milles self-assigned this Apr 26, 2019
@eric-milles eric-milles added this to the v3.4.0 milestone Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant