From deab0a017b6d81c9c08ae5fd326c7df47722d34e Mon Sep 17 00:00:00 2001 From: Roman Artemev Date: Wed, 18 Apr 2018 22:47:48 +0300 Subject: [PATCH] Add support for inner clases --- .../src/org/jetbrains/kotlin/ir/backend/js/compiler.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/compiler.kt b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/compiler.kt index eb8d56c8d02..a83989a7240 100644 --- a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/compiler.kt +++ b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/compiler.kt @@ -58,10 +58,11 @@ fun JsIrBackendContext.lower(file: IrFile) { DefaultArgumentStubGenerator(this).runOnFilePostfix(file) SharedVariablesLowering(this).runOnFilePostfix(file) LocalDeclarationsLowering(this).runOnFilePostfix(file) + InnerClassesLowering(this).runOnFilePostfix(file) + InnerClassConstructorCallsLowering(this).runOnFilePostfix(file) PropertiesLowering().lower(file) InitializersLowering(this, JsLoweredDeclarationOrigin.CLASS_STATIC_INITIALIZER, false).runOnFilePostfix(file) SecondaryCtorLowering(this).lower(file) IntrinsicifyCallsLowering(this).lower(file) FunctionReferenceLowering(this).lower(file) - } \ No newline at end of file