KT-6628 Allow imports of classes from root package

#KT-6628 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-01-20 18:05:35 +03:00
parent fa779bbdd2
commit 77a560775f
31 changed files with 115 additions and 185 deletions
@@ -0,0 +1,8 @@
// "Remove conflicting import for 'java.util.ArrayList'" "true"
package test
import java.util.HashMap as ArrayList
fun foo(a : ArrayList<String, String>) {
}
@@ -0,0 +1,9 @@
// "Remove conflicting import for 'java.util.ArrayList'" "true"
package test
import java.util.ArrayList<caret>
import java.util.HashMap as ArrayList
fun foo(a : ArrayList<String, String>) {
}
@@ -1,8 +0,0 @@
// "Remove useless import for 'test'" "true"
package test
import org.jetbrains
fun main(args : Array<String>) {
}
@@ -1,9 +0,0 @@
// "Remove useless import for 'test'" "true"
package test
import org.jetbrains
import test<caret>
fun main(args : Array<String>) {
}