[JS IR BE] Properly handle primary constructors
- force primary constructor to be created by codegen - make sure initializer is invoked once in primary constructor - make one of coroutine constructor primary - remove hack from codegen
This commit is contained in:
+1
-1
@@ -392,7 +392,7 @@ abstract class AbstractSuspendFunctionsLowering<C : CommonBackendContext>(val co
|
||||
coroutineClass.defaultType,
|
||||
isInline = false,
|
||||
isExternal = false,
|
||||
isPrimary = false
|
||||
isPrimary = true
|
||||
).apply {
|
||||
d.bind(this)
|
||||
parent = coroutineClass
|
||||
|
||||
Reference in New Issue
Block a user