GROOVY-7122: enable typechecker passing for Iterable usage in for-in loop