Import is placed in some specific order on adding

This commit is contained in:
Valentin Kipyatkov
2015-02-13 01:07:40 +03:00
parent 371e0baed1
commit 0a363fc371
51 changed files with 126 additions and 74 deletions
@@ -1,8 +1,8 @@
package a
import b.test
import b.TEST
import b.Test
import b.test
fun bar() {
val t: Test = Test()
@@ -1,8 +1,8 @@
package a
import b.test
import b.TEST
import b.Test
import b.test
fun bar() {
val t: Test = Test()
@@ -1,8 +1,8 @@
package c
import b.TEST
import b.Test
import b.test
import b.TEST
fun bar() {
val t: Test = Test()
@@ -1,9 +1,9 @@
package c
import a.*
import b.test
import b.TEST
import b.Test
import b.test
fun bar() {
val t: Test = Test()
@@ -1,7 +1,7 @@
package target
import library.bar
import library.B
import library.bar
public class A: B() {
fun test() {
@@ -1,9 +1,9 @@
package first
import fourth.X
import second.A
import third.B
import third.D
import fourth.X
class Test {
val a = A()
@@ -1,9 +1,9 @@
package first
import fourth.X
import second.A
import third.B
import third.D
import fourth.X
fun test() {
val a = A()
@@ -1,8 +1,8 @@
package target
import library.JavaClass
import library.KtObject
import library.KtClass
import library.KtObject
class Foo {
val jv1 = JavaClass.foo()
@@ -1,8 +1,8 @@
package target
import library.JavaEnum
import library.KtEnum
import library.KtData
import library.KtEnum
class Foo {
val javaEnum = JavaEnum.values()