ebb9659e03
Currently JVM IR is not supported in kapt, so almost all tests are failing, and thus are muted with IGNORE_BACKEND. #KT-49682
30 lines
679 B
Kotlin
Vendored
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
|
|
}
|