Skip to content

Fix syntax highlighting for static import alias under static compilation #962

@eric-milles

Description

@eric-milles

Consider the following:

import static Transient.getSomeThing as something

@java.lang.Deprecated
static def getSomeThing(a, b, c) {}

@groovy.transform.CompileStatic
void meth(x, y, z) {
  something(x, y, z)
}

Syntax highlighting for the method call something is intruding into the argument list.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions