Skip to content

Fix type inferencing and syntax highlighting for lazy-init static field #1569

@eric-milles

Description

@eric-milles

Consider the following:

class C {
  static @Lazy Map map = new HashMap().tap {
    put('key', 'val')
  }
}

The initialization expression for "map" has no highlighting and does not support code completion or navigation.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions