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