Skip to content

Fix type inferencing and syntax highlighting for multi-assign of number wrapper type #990

@eric-milles

Description

@eric-milles

Consider the following:

@groovy.transform.CompileStatic
void test() {
  def (Integer i, Long l) = [123, 456L]
}

"123" is showing as unknown (underlined) and "456L" is showing as default. Both should be colored as a number.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions