KT-16671 Calls to members imported from objects should be desugared in PSI2IR

This commit is contained in:
Dmitry Petrov
2017-03-06 17:41:56 +03:00
parent 4ba8268a29
commit 6bc6c1b6cc
8 changed files with 143 additions and 17 deletions
@@ -0,0 +1,16 @@
import A.foo
import A.bar
import A.fooExt
import A.barExt
object A {
fun foo() = 1
fun Int.fooExt() = 2
val bar = 42
val Int.barExt get() = 43
}
val test1 = foo()
val test2 = bar
val test3 = 1.fooExt()
val test4 = 1.barExt