Skip to content

Fix type inferencing, syntax highlighting and code navigation for method call with map delegate #1277

@eric-milles

Description

@eric-milles

Consider the following:

class C {
  def getX() { 'C' }
  void test() {
    [x:'map'].with {
      print getX()
    }
  }
}

Method call "getX()" is resolved incorrectly to the map. Running new C().test() outputs "C".

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions