From c077b3ca5d45eadb62c05ccd3d9f9cd9b334065f Mon Sep 17 00:00:00 2001 From: Anton Bannykh Date: Wed, 20 Jun 2018 17:07:19 +0300 Subject: [PATCH] JS IR: invoke missing lowering step for default arguments lowering --- .../src/org/jetbrains/kotlin/ir/backend/js/compiler.kt | 1 + 1 file changed, 1 insertion(+) 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 14f38cbfec4..b5e7409de99 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 @@ -79,6 +79,7 @@ fun JsIrBackendContext.performInlining(moduleFragment: IrModuleFragment) { fun JsIrBackendContext.lower(file: IrFile) { LateinitLowering(this, true).lower(file) DefaultArgumentStubGenerator(this).runOnFilePostfix(file) + DefaultParameterInjector(this).runOnFilePostfix(file) SharedVariablesLowering(this).runOnFilePostfix(file) ReturnableBlockLowering(this).lower(file) LocalDeclarationsLowering(this).runOnFilePostfix(file)