Files
kotlin-fork/idea/testData/fir/multiModule/mppMembers/jvm/jvm.txt
T
Mikhail Glukhikh 84b3a17e2b Type resolve transformer: reorder tower scope
This commit prioritizes inner scopes above outer scopes
(before this commit, inner scopes had lowest priority).
NB: really it's not precise enough too,
because explicit importing scope should have higher priority
than inner scopes.
Also fixes problem with total Kotlin resolve test introduced
in previous commit.
2019-02-19 09:52:19 +03:00

30 lines
655 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|()
<Unresolved name: 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|()
}
}