f5e2cd2ac4
This fixes MPP override test (see mppFakeOverride in FirMultiModuleResolveTestGenerated)
27 lines
717 B
Plaintext
Vendored
27 lines
717 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 open function baz(arg: R|T|): R|T| {
|
|
return@@@baz <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: R|kotlin/Unit|>|(String())
|
|
R|/C.bar|(String())
|
|
<Ambiguity: baz, [/C.baz, /A.baz]>#(String())
|
|
}
|
|
|
|
}
|