Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.17, 3.0.11, 4.0.3
-
None
Description
Consider the following:
abstract class TreeNode<TN extends TreeNode<?>> implements Iterable<TN> { @Override Iterator<TN> iterator() { } }
void proc(TreeNode node) {
node.eachWithIndex { child, index ->
proc(child) // Cannot find matching method #proc(java.lang.Object)
}
}
Attachments
Issue Links
- relates to
-
GROOVY-11258 AssertJ collection mapping is badly supported
- In Progress
-
GROOVY-10671 STC fails to compile AssertJ fluent API expression
- Closed
-
GROOVY-10756 STC: parameterized and bounded return value for java class property
- Closed
-
GROOVY-11028 STC: empty map (or list) literal does not type check like emptyMap()
- Closed