FIR2IR: apply suspend conversions also to varargs

This commit is contained in:
Mikhail Glukhikh
2021-12-08 15:51:45 +03:00
committed by TeamCityServer
parent 8c7f659a32
commit e1ca5fe344
4 changed files with 80 additions and 30 deletions
@@ -1,8 +1,6 @@
// !LANGUAGE: +SuspendConversion
// !DIAGNOSTICS: -UNUSED_PARAMETER
// IGNORE_BACKEND: JVM
// IGNORE_BACKEND_FIR: JVM_IR
// FIR status: SuspendConversionOnVarargElementsKt$box$2 cannot be cast to kotlin.jvm.functions.Function1
fun useSuspendVararg(vararg sfn: suspend () -> Unit) {}