[K/N] Fixed a problem with built coroutine visibility

#KT-55494 Fixed
This commit is contained in:
Igor Chevdar
2022-12-15 19:26:02 +02:00
committed by Space Team
parent 0f2ebeea15
commit 0e4e53786c
3 changed files with 3 additions and 3 deletions
@@ -221,7 +221,7 @@ abstract class AbstractSuspendFunctionsLowering<C : CommonBackendContext>(val co
endOffset = irFunction.endOffset
origin = DECLARATION_ORIGIN_COROUTINE_IMPL
name = nameForCoroutineClass(irFunction)
visibility = irFunction.visibility
visibility = DescriptorVisibilities.PRIVATE
}.apply {
parent = irFunction.parent
createParameterDeclarations()