[JS IR BE] Fix constructor parent
This commit is contained in:
+1
@@ -103,6 +103,7 @@ class InnerClassesLowering(val context: BackendContext) : ClassLoweringPass {
|
||||
newSymbol,
|
||||
null
|
||||
).apply {
|
||||
parent = irConstructor.parent
|
||||
returnType = irConstructor.returnType
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -464,6 +464,7 @@ internal class SuspendFunctionsLowering(val context: JsIrBackendContext): FileLo
|
||||
origin = DECLARATION_ORIGIN_COROUTINE_IMPL,
|
||||
symbol = symbol).apply {
|
||||
|
||||
parent = coroutineClass
|
||||
returnType = coroutineClass.defaultType
|
||||
|
||||
this.valueParameters += constructorParameters
|
||||
@@ -525,6 +526,7 @@ internal class SuspendFunctionsLowering(val context: JsIrBackendContext): FileLo
|
||||
origin = DECLARATION_ORIGIN_COROUTINE_IMPL,
|
||||
symbol = symbol).apply {
|
||||
|
||||
parent = coroutineClass
|
||||
returnType = coroutineClass.defaultType
|
||||
|
||||
this.valueParameters += constructorParameters
|
||||
|
||||
Reference in New Issue
Block a user