From 07b6ef65a3fa4b0c9435df8d5d3d0e5e249b27ee Mon Sep 17 00:00:00 2001 From: Ilya Goncharov Date: Wed, 28 Oct 2020 19:28:31 +0300 Subject: [PATCH] [JS IR] Init delegated properties as usual ^KT-43222 fixed --- .../kotlin/ir/backend/js/lower/PropertyLazyInitLowering.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/PropertyLazyInitLowering.kt b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/PropertyLazyInitLowering.kt index f10ea002c18..1f3ea750419 100644 --- a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/PropertyLazyInitLowering.kt +++ b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/lower/PropertyLazyInitLowering.kt @@ -125,7 +125,6 @@ private fun calculateFieldToExpression(functions: Collection): .filter { it.isTopLevel } .filterNot { it.isConst } .distinct() - .filterNot { it.isDelegated } .mapNotNull { it.backingField } .filter { it.initializer != null } .map { it to it.initializer!!.expression }