Skip to content

Fix type inferencing for closure parameter default values #660

@eric-milles

Description

@eric-milles

Consider the following:

[].with { one, two = delegate ->
  println two.class.name
}

This outputs "java.util.ArrayList", so default expressions are within the scope of the closure block. Fix type inferencing and semantic highlighting to reflect this.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions