[FIR2IR] Unwrap typealiases during applying of suspend conversion

^KT-65002 Fixed
This commit is contained in:
Dmitriy Novozhilov
2024-02-25 11:09:30 +02:00
committed by Space Team
parent 83ddf904aa
commit 9857bdc891
22 changed files with 131 additions and 1 deletions
@@ -0,0 +1,10 @@
// DONT_TARGET_EXACT_BACKEND: JVM
// ISSUE: KT-65002
typealias Listener = (String) -> Unit
fun foo(f: suspend (String) -> Unit): String = "OK"
fun box(): String {
val f: Listener = {}
return foo(f)
}