Files
kotlin-fork/compiler/testData/codegen/box/fir/flexibleStaticConstantFromJava.kt
T
Dmitriy Novozhilov 2581139b82 [FIR2IR] Expand typealiases before inserting implicit casts
^KT-59461 Fixed
^KT-59464
2023-06-21 07:34:09 +00:00

20 lines
332 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// ISSUE: KT-59461
// FILE: NullContainer.java
public interface NullContainer {
static String NULL = null;
}
// FILE: main.kt
typealias NullableString = String?
fun updateThreadContext(): NullableString {
return NullContainer.NULL
}
fun box(): String {
updateThreadContext()
return "OK"
}