Import: IDE should import class from root package

#KT-21422 Fixed
This commit is contained in:
Dmitry Gridin
2019-06-28 18:13:34 +07:00
parent 148eed2a12
commit 074829bcea
9 changed files with 51 additions and 6 deletions
@@ -0,0 +1,9 @@
// "Import" "true"
// ERROR: Unresolved reference: RootClass
package non.root.name
import RootClass
fun test() {
RootClass()
}
@@ -0,0 +1 @@
class RootClass
@@ -0,0 +1,7 @@
// "Import" "true"
// ERROR: Unresolved reference: RootClass
package non.root.name
fun test() {
RootClass<caret>()
}