5b77210c95
#KT-2632 Fixed
15 lines
165 B
Kotlin
15 lines
165 B
Kotlin
class A {
|
|
fun component1() = 1
|
|
fun component2() = 1
|
|
}
|
|
|
|
class C {
|
|
fun iterator(): Iterator<A> = null!!
|
|
}
|
|
|
|
fun test() {
|
|
for ((x, y) in C()) {
|
|
|
|
}
|
|
}
|