[FIR2IR] Unwrap typealiases during applying of suspend conversion
^KT-65002 Fixed
This commit is contained in:
committed by
Space Team
parent
83ddf904aa
commit
9857bdc891
+10
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user