[FIR2IR] Expand typealiases before inserting implicit casts
^KT-59461 Fixed ^KT-59464
This commit is contained in:
committed by
Space Team
parent
8a1372e21c
commit
2581139b82
@@ -0,0 +1,19 @@
|
||||
// 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"
|
||||
}
|
||||
Reference in New Issue
Block a user