[BE JVM] KT-51352 Do not mix extension and context receivers in suspends

This commit is contained in:
Anastasia.Shadrina
2022-02-17 21:48:42 +07:00
committed by teamcity
parent 47f0a84c7a
commit 4bc7b0c366
4 changed files with 52 additions and 0 deletions
@@ -402,6 +402,7 @@ private fun IrSimpleFunction.createSuspendFunctionStub(context: JvmBackendContex
function.annotations += annotations
function.metadata = metadata
function.contextReceiverParametersCount = contextReceiverParametersCount
function.copyAttributes(this)
function.copyTypeParametersFrom(this)