[FIR] Support imported callable from object properly #KT-35730 Fixed

This commit is contained in:
Mikhail Glukhikh
2020-07-08 12:21:51 +03:00
parent 6b964cb61d
commit fbbf4e06ba
15 changed files with 218 additions and 28 deletions
+10
View File
@@ -0,0 +1,10 @@
import Derived.foo
interface Base {
fun foo() {}
}
object Derived : Base
fun test() {
// Both calls resolved to Base.foo()
foo()
Derived.foo()
}