groovy/groovy-eclipse

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

eric-milles opened this issue · 1 comments

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