Skip to content

Fix syntax highlighting for implicit constructor call of static inner class #1307

@eric-milles

Description

@eric-milles

Consider the following:

@groovy.transform.CompileStatic
class Outer {
  static class Inner {
    String foo
  }
  void test() {
    Inner obj = []
    obj.foo
  }
}

Syntax highlighting breaks down at "Inner obj = []", which is a tuple constructor shorthand.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions