Fix initialization order
* put inheritance code in the beginning * put top-level initializer after any declaration
This commit is contained in:
committed by
Roman Artemev
parent
cff066f702
commit
0c6256d003
@@ -18,5 +18,6 @@ package org.jetbrains.kotlin.js.backend.ast
|
||||
|
||||
class JsClassModel(val name: JsName, val superName: JsName?) {
|
||||
val interfaces: MutableSet<JsName> = mutableSetOf()
|
||||
val preDeclarationBlock = JsGlobalBlock()
|
||||
val postDeclarationBlock = JsGlobalBlock()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user