blob: f0096cbca12937061f4b9e6eccd0bcc93fcd86af [file]
// FIR_IDENTICAL
package a
//KT-2240 Wrong overload resolution ambiguity when object literal is involved
class A {}
fun <T> A.foo(f : T) {}
val o = object {
fun <T> foo(f: T) {
A().foo(f) // Ambiguity here!
}
}