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,7 +1,7 @@
package to
import a.with
import a.Outer
import a.with
fun f(p1: Outer.Nested.NN, p2: Outer.Nested.NI, p3: Outer.Inner.II) {
Outer.Nested.NN2()
@@ -1,11 +1,11 @@
package to
import d.g
import d.c
import d.ext
import d.A
import d.T
import d.Outer
import d.c
import d.g
import d.O1
import d.O2
import d.E
@@ -1,11 +1,11 @@
package to
import d.g
import d.c
import d.ext
import d.A
import d.T
import d.Outer
import d.c
import d.g
import d.O1
import d.O2
import d.E
@@ -1,7 +1,7 @@
package to
import a.f
import a.ext
import a.f
fun g() {
f {