Files
kotlin-fork/idea/testData/fir/multiModule/mppFakeOverrides/jvm/jvm.txt
T
Simon Ogorodnik bd769f8fd7 Add multiplatform test with substitution, fix deep supertypes
This commit fixes ambiguity problems introduced before
in MPP tests with deep supertypes

#KT-29636 Fixed
2019-02-19 09:54:16 +03:00

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())
}
}