K2: unmute testInnerClassPackageConflict2 thus fixing current K2 behavior
Related to KT-63070, KT-60792
This commit is contained in:
committed by
Space Team
parent
555e374a33
commit
78876b32e9
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
compiler/testData/compileKotlinAgainstCustomBinaries/innerClassPackageConflict2/source.kt:10:9: error: unresolved reference 'Nested'.
|
||||
val v3: Nested? = null
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
+1
-2
@@ -472,8 +472,7 @@ abstract class AbstractCompileKotlinAgainstCustomBinariesTest : AbstractKotlinCo
|
||||
compileKotlin("source.kt", tmpdir, listOf(File(tmpdir, "library.jar")))
|
||||
}
|
||||
|
||||
// KT-60792 K2 can resolve FQ type name to a nested classifier even in presence of a parent package
|
||||
fun testInnerClassPackageConflict2() = muteForK2 {
|
||||
fun testInnerClassPackageConflict2() {
|
||||
val library1 = compileLibrary("library1", destination = File(tmpdir, "library1"))
|
||||
val library2 = compileLibrary("library2", destination = File(tmpdir, "library2"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user