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
@@ -0,0 +1,8 @@
// WITH_RUNTIME
class T<U>
operator fun <U> T<U>.iterator(): Iterator<U> = listOf<U>().iterator()
fun test() {
T<Int>()<caret>
}