Shorten references inserts imports for global functions and properties too

This commit is contained in:
Valentin Kipyatkov
2015-02-13 00:09:04 +03:00
parent 664e2781e8
commit 20cf100714
34 changed files with 105 additions and 61 deletions
@@ -1,5 +1,6 @@
package source
import target.A
import target.test
fun test1() = target.test(A())
fun test1() = test(A())
@@ -1,10 +1,12 @@
package c
import b.Test
import b.test
import b.TEST
fun bar() {
val t: Test = Test()
b.test()
println(b.TEST)
b.TEST = ""
test()
println(TEST)
TEST = ""
}