Skip to content

Fix type inferencing and syntax highlighting for empty property of delegate map #1571

@eric-milles

Description

@eric-milles

Consider the following:

class Pogo { @Delegate Map m = [:] }
def pogo = new Pogo()
print pogo.empty

This script prints "null" not "true", so "empty" being highlighted as the isEmpty() property is incorrect.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions