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.
This commit is contained in:
Mikhail Glukhikh
2019-01-29 18:31:19 +03:00
parent bec62acf5b
commit 84b3a17e2b
2 changed files with 46 additions and 43 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ FILE: jvm.kt
public final function test(): R|kotlin/Unit| {
R|/A.foo|()
<Unresolved name: bar>#()
R|/A.bar|()
}
}