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