mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
14 lines
173 B
Kotlin
14 lines
173 B
Kotlin
class A {
|
|
fun component1() = 1
|
|
}
|
|
|
|
class C {
|
|
fun iterator(): Iterator<A> = null!!
|
|
}
|
|
|
|
fun test() {
|
|
for ((x, y) in <!COMPONENT_FUNCTION_MISSING!>C()<!>) {
|
|
|
|
}
|
|
}
|