[JVM_IR] Handle big arity suspend functions in existing lowering.
Now that suspend function views are created in AddContinuationLowering, we can let the FunctionNVarargBridgeLowering deal with rewriting of large arity FunctionN/SuspendFunctionN.
This commit is contained in:
@@ -52,6 +52,9 @@ fun IrType.isInterface() = classOrNull?.owner?.kind == ClassKind.INTERFACE
|
||||
|
||||
fun IrType.isFunctionOrKFunction() = isFunction() || isKFunction()
|
||||
|
||||
fun IrType.isSuspendFunctionOrKFunction() = isSuspendFunction() || isKSuspendFunction()
|
||||
|
||||
|
||||
@Deprecated(
|
||||
"Use org.jetbrains.kotlin.ir.types.isNullable instead.",
|
||||
ReplaceWith("this.isNullable()", "org.jetbrains.kotlin.ir.types.isNullable")
|
||||
|
||||
Reference in New Issue
Block a user