bd769f8fd7
This commit fixes ambiguity problems introduced before in MPP tests with deep supertypes #KT-29636 Fixed
11 lines
242 B
Kotlin
Vendored
11 lines
242 B
Kotlin
Vendored
actual open class A<T> {
|
|
actual open fun foo(arg: T) {}
|
|
open fun bar(arg: T): T = arg
|
|
}
|
|
class D : C() {
|
|
// Fake: override fun bar(arg: CharSequence): String = super.bar(arg)
|
|
fun test() {
|
|
foo("")
|
|
bar("")
|
|
}
|
|
} |