Skip to content

Fix type inferencing and syntax coloring for super field direct access #996

@eric-milles

Description

@eric-milles

Consider the following:

class Foo {
  protected Number value
}
class Bar extends Foo {
}
def bar = new Bar()
bar.@value

The expression "value" is showing as unknown (underlined). Attribute expressions (.@) support non-private fields from super types. In the special case of super.@value, general Groovy property access is supported.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions