4c69416f2b
Currently it's all about lambda parameters/destructuring entries #KT-14347 In Progress
16 lines
361 B
Kotlin
Vendored
16 lines
361 B
Kotlin
Vendored
class A {
|
|
<!CONFLICTING_OVERLOADS!>operator fun component1()<!> = 1
|
|
<!CONFLICTING_OVERLOADS!>operator fun component1()<!> = 1
|
|
operator fun component2() = 1
|
|
}
|
|
|
|
class C {
|
|
operator fun iterator(): Iterator<A> = null!!
|
|
}
|
|
|
|
fun test() {
|
|
for ((<!UNUSED_VARIABLE!>x<!>, <!UNUSED_VARIABLE!>y<!>) in <!COMPONENT_FUNCTION_AMBIGUITY!>C()<!>) {
|
|
|
|
}
|
|
}
|