Files
kotlin-fork/plugins/kapt3/kapt3-compiler/testData/converter/aliasedImports.kt
T
Alexander Udalov ebb9659e03 Add mode to run kapt with JVM IR, use in tests
Currently JVM IR is not supported in kapt, so almost all tests are
failing, and thus are muted with IGNORE_BACKEND.

 #KT-49682
2022-02-08 20:15:13 +01:00

30 lines
679 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// CORRECT_ERROR_TYPES
// NO_VALIDATION
@file:Suppress("ENUM_ENTRY_AS_TYPE", "UNRESOLVED_REFERENCE")
import java.util.Date as MyDate
import java.util.concurrent.TimeUnit as MyTimeUnit
import java.util.concurrent.TimeUnit.*
import java.util.concurrent.TimeUnit.MICROSECONDS as MyMicroseconds
import kotlin.arrayOf
import a.b.ABC as MyABC
import bcd as MyBCD
class Test {
lateinit var date: MyDate
lateinit var timeUnit: MyTimeUnit
lateinit var microseconds: MyMicroseconds
lateinit var abc: MyABC
lateinit var bcd: MyBCD
class MyDate {
lateinit var date2: MyDate
}
}
class Test2 {
lateinit var date: MyDate
}