[FIR2IR] Expand typealiases before inserting implicit casts

^KT-59461 Fixed
^KT-59464
This commit is contained in:
Dmitriy Novozhilov
2023-06-19 11:29:41 +03:00
committed by Space Team
parent 8a1372e21c
commit 2581139b82
9 changed files with 73 additions and 13 deletions
@@ -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"
}