Prefer package with class files to class with the same name

See comments in JvmDependenciesIndexImpl and in the test

 #KT-15464 Fixed
This commit is contained in:
Alexander Udalov
2016-12-29 18:38:35 +03:00
parent 6cccad9647
commit 164c72e877
8 changed files with 80 additions and 5 deletions
@@ -0,0 +1,10 @@
compiler/testData/compileKotlinAgainstCustomBinaries/innerClassPackageConflict2/source.kt:10:9: error: unresolved reference: Nested
val v3: Nested? = null
^
compiler/testData/compileKotlinAgainstCustomBinaries/innerClassPackageConflict2/source.kt:11:18: error: unresolved reference: Nested
val v4: test.Foo.Nested? = null
^
compiler/testData/compileKotlinAgainstCustomBinaries/innerClassPackageConflict2/source.kt:14:18: error: unresolved reference: Nested
val v6: test.Boo.Nested? = null
^
COMPILATION_ERROR