Teach index working with source roots with package prefix

#KT-9167 Fixed
This commit is contained in:
Nikolay Krasko
2015-11-08 20:58:55 +03:00
committed by Nikolay Krasko
parent c0739ef53c
commit 23e35ab112
17 changed files with 179 additions and 3 deletions
@@ -0,0 +1,6 @@
package good.prefix;
public class JavaDependency {
public void bar() {}
}
@@ -0,0 +1,6 @@
package good.prefix;
public class JavaTest extends JavaDependency {
}
@@ -0,0 +1,4 @@
package bad.prefix
class KotlinTestInBadPrefix
@@ -0,0 +1,3 @@
package good.prefix
class KotlinTestInGoodPrefix
@@ -0,0 +1,9 @@
package test.other
import bad.prefix.KotlinTestInBadPrefix
import good.prefix.KotlinTestInGoodPrefix
import good.prefix.JavaTest;
val goodTest = KotlinTestInGoodPrefix()
val badTest = KotlinTestInBadPrefix()
val javaTest = JavaTest().bar()