Skip to content

Fix type inferencing and syntax highlighting for this.field reference within map-based type #1572

@eric-milles

Description

@eric-milles

Consider the following:

class MapBased extends HashMap {
  private field = 'field'
  void test() {
    print this.field
  }
}

When test() is executed, it prints "field". Highlighting indicates that this.field is a map lookup.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions