chirino/kotlin — comment on commit 5a97a11e2e3431a76ee3d62a610526b20cc43ddb
File: compiler/frontend/src/org/jetbrains/jet/lang/resolve/calls/TaskPrioritizers.java line 106
By abreslav:

All you look at here is members of the object, but everywhere else in Kotlin extensions would be considered as well.
Please, see the ControlStructureTypingVisitor.checkIterableConvention() and its usages.