You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classBar { Number number }
classFooimplementsIterable<Bar> {
List<Bar> bars
Iterator<Bar>iterator() {
return bars.iterator()
}
voidtest() {
this.any { bar-> bar.number >0 } // any(Object,Closure) vs. any(Iterable,Closure)
}
}
The reference to "any" from within a type the implements Iterable is showing as unknown (underlined). CategoryTypeLookup uses ClassNode.getTypeClass() as part of algortihm to choose from multiple category method options -- any(Object,Closure) vs. any(Iterable,Closure) in this case. Because Foo is a source type, it may not have been built to a class file yet.
The text was updated successfully, but these errors were encountered:
Consider the following:
The reference to "any" from within a type the implements Iterable is showing as unknown (underlined). CategoryTypeLookup uses ClassNode.getTypeClass() as part of algortihm to choose from multiple category method options -- any(Object,Closure) vs. any(Iterable,Closure) in this case. Because Foo is a source type, it may not have been built to a class file yet.
The text was updated successfully, but these errors were encountered: