Consider the following: ```groovy trait T { def f() { ['a'].collect{ String s -> g(s) } } private String g(String s) { s.toUpperCase() } } ``` Both "collect" and "g" show as unknown (underlined). 
Consider the following:
trait T { def f() { ['a'].collect{ String s -> g(s) } } private String g(String s) { s.toUpperCase() } }Both "collect" and "g" show as unknown (underlined).