KT-16671 Calls to members imported from objects should be desugared in PSI2IR
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user