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