Skip to content

Fix type inferencing and syntax highlighting for reference to public field of map-based type #1573

@eric-milles

Description

@eric-milles

Consider the following:

class MapBased extends HashMap {
  public field = 'field'
}

new MapBased().field

This script returns "field" (for Groovy 5) but the name is not highlighted to indicate field access.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions