FIR override resolve: lookup also interfaces

This commit is contained in:
Mikhail Glukhikh
2019-01-30 13:38:38 +03:00
parent b3c8e83c58
commit 6ea2abfc46
5 changed files with 33 additions and 15 deletions
+1 -3
View File
@@ -13,9 +13,8 @@ actual open class A : X(), Y {
class C : B() {
fun test() {
foo()
// This cannot be resolved yet due to lack of search symbols / projections
// This and next cannot be resolved yet due to lack of search symbols / projections
bar()
// This cannot be resolved yet due to lack of interface lookup
baz()
}
}
@@ -24,7 +23,6 @@ class D : A() {
fun test() {
foo()
bar()
// This cannot be resolved yet due to lack of interface lookup
baz()
}
}
+1 -1
View File
@@ -34,7 +34,7 @@ FILE: jvm.kt
public final function test(): R|kotlin/Unit| {
R|/A.foo|()
R|/X.bar|()
<Unresolved name: baz>#()
R|/Y.baz|()
}
}