[IR] Reorder parameters in IrFactory#createConstructor
This is to prepare for IrFactory auto-generation (KT-59308).
This commit is contained in:
committed by
Space Team
parent
f486fc942b
commit
0ae95b39c3
+11
-3
@@ -192,9 +192,17 @@ class WasmSharedVariablesManager(val context: JsCommonBackendContext, val builtI
|
||||
val symbol = IrConstructorSymbolImpl()
|
||||
|
||||
val declaration = context.irFactory.createConstructor(
|
||||
UNDEFINED_OFFSET, UNDEFINED_OFFSET, JsLoweredDeclarationOrigin.JS_CLOSURE_BOX_CLASS_DECLARATION, symbol,
|
||||
SpecialNames.INIT, DescriptorVisibilities.PUBLIC, closureBoxClassDeclaration.defaultType,
|
||||
isInline = false, isExternal = false, isPrimary = true, isExpect = false
|
||||
startOffset = UNDEFINED_OFFSET,
|
||||
endOffset = UNDEFINED_OFFSET,
|
||||
origin = JsLoweredDeclarationOrigin.JS_CLOSURE_BOX_CLASS_DECLARATION,
|
||||
name = SpecialNames.INIT,
|
||||
visibility = DescriptorVisibilities.PUBLIC,
|
||||
isInline = false,
|
||||
isExpect = false,
|
||||
returnType = closureBoxClassDeclaration.defaultType,
|
||||
symbol = symbol,
|
||||
isPrimary = true,
|
||||
isExternal = false,
|
||||
)
|
||||
|
||||
declaration.parent = closureBoxClassDeclaration
|
||||
|
||||
Reference in New Issue
Block a user