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