Skip to content

Fix syntax highlighting and code navigation for repeat lambda parameter types #1475

@eric-milles

Description

@eric-milles

Consider the following:

@groovy.transform.CompileStatic
void test() {
  ['foo','bar','baz'].stream().collect(Collectors.toMap(
    (String s) -> s, (String s) -> Collections.singletonList(s))
  )
}

Second occurrence of "String" does not have color or hover support. This is specific to Static Compilation.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions