Iterate Intention: Fix detection of extension iterators

#KT-8616 Fixed
This commit is contained in:
Alexey Sedunov
2015-12-17 20:55:55 +03:00
parent ee9389d089
commit 1c74bab1cc
14 changed files with 99 additions and 16 deletions
@@ -1,9 +1,9 @@
interface X
interface Y
fun X.iterator(): Y
fun Y.next(): Int
fun Y.hasNext(): Boolean
operator fun X.iterator(): Y
operator fun Y.next(): Int
operator fun Y.hasNext(): Boolean
fun foo(x: X, y: Y) {