bd769f8fd7
This commit fixes ambiguity problems introduced before in MPP tests with deep supertypes #KT-29636 Fixed
22 lines
545 B
Plaintext
Vendored
22 lines
545 B
Plaintext
Vendored
FILE: jvm.kt
|
|
<T> public open actual class A {
|
|
public constructor(): super<R|kotlin/Any|>()
|
|
|
|
public open actual function foo(arg: R|T|): R|kotlin/Unit| {
|
|
}
|
|
|
|
public open function bar(arg: R|T|): R|T| {
|
|
return@@@bar <Unresolved name: arg>#
|
|
}
|
|
|
|
}
|
|
public final class D : R|C| {
|
|
public constructor(): super<R|C|>()
|
|
|
|
public final function test(): R|kotlin/Unit| {
|
|
R|FakeOverride</A.foo>|(String())
|
|
R|FakeOverride</A.bar>|(String())
|
|
}
|
|
|
|
}
|