Files
kotlin-fork/compiler/testData/resolve/imports/ImportConflictsWithMappedToJava.resolve

54 lines
1.6 KiB
Plaintext
Vendored

//FILE:allPackageImport.kt
//----------------------------------------------------------------------------------
package test
import testing.custom.*
// Companion import has priority over on-demand ones. No conflicts are expected.
val a1: `kotlin::kotlin.collections.List`List<Int>? = null
//FILE:javaUtilImport.kt
//----------------------------------------------------------------------------------
package test
import java.util.*
// Companion imports take over import-on-demand
// TODO: Fix for lazy resolve test
// val a2: 'kotlin::kotlin.collections.List'List<Int>? = null
//FILE:allPackageWithJavaUtilImport.kt
//----------------------------------------------------------------------------------
package test
import testing.custom.*
import java.util.*
// Companion import has priority over on-demand ones. No conflicts are expected.
val a3: `kotlin::kotlin.collections.List`List<Int>? = null
//FILE:singleClassImportFromJavaUtil.kt
//----------------------------------------------------------------------------------
package test
import java.util.List
// Single import doesn't processed with Java->Kotlin class mapper. This is the way how
// java classes can be imported.
val a4: `java::java.util.List`List<Int>? = null
//FILE:singleClassImport.kt
//----------------------------------------------------------------------------------
package test
import testing.custom.List
// Single import doesn't processed with Java->Kotlin class mapper
val a5: `custom`List<Int>? = null
//FILE:importFirst.kt
//----------------------------------------------------------------------------------
package testing.custom
class ~custom~List<T>