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