FIR2IR: properly support combinations of SAM/suspend conversions

This commit is contained in:
Mikhail Glukhikh
2021-12-07 16:49:25 +03:00
committed by TeamCityServer
parent e574d3be27
commit 9b42fab9de
9 changed files with 42 additions and 24 deletions
@@ -1,7 +1,5 @@
// !LANGUAGE: +SuspendConversion
// IGNORE_BACKEND: JVM
// IGNORE_BACKEND_FIR: JVM_IR
// FIR status: ChainedFunSuspendConversionForSimpleExpressionKt$box$1 cannot be cast to kotlin.jvm.functions.Function1
fun interface SuspendRunnable {
suspend fun invoke()