Skip to content

Fix type inferencing and syntax coloring of static property access outside class of property #683

@eric-milles

Description

@eric-milles

Consider the following:

package foo
class Bar {
  static def prop
  static def getProp() {}
}
class Baz extends Bar {
}
import foo.Baz
Baz.prop
Baz.getProp()

Baz b = new Baz()
b.prop
b.getProp()

b.prop is showing as field reference but should be property-style reference to getProp (as Baz.prop is showing), since the reference is made outside of Bar or Baz class bodies.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions