[K/N][IR] Tail call optimization for suspend lambdas

This commit is contained in:
Igor Chevdar
2023-02-02 20:45:08 +02:00
committed by Space Team
parent 5790a32436
commit 716853dd00
2 changed files with 23 additions and 305 deletions
@@ -161,11 +161,6 @@ internal class FunctionReferenceLowering(val generationState: NativeGenerationSt
return expression
}
if (expression.origin.isLambda && expression.type.isSuspendFunction()) {
// Handled later by coroutines lowerings
return expression
}
return transformFunctionReference(expression)
}