FIR2IR: do not skip getter generation for const properties

otherwise some IR pipeline breaks for JS, e.g. some intrinsics, like
numeric constants, are not inlined properly
This commit is contained in:
Ilya Chernikov
2022-07-18 13:36:29 +02:00
parent 302ccf12d0
commit 40ec72a51b
@@ -159,7 +159,6 @@ class Fir2IrLazyProperty(
}
override var getter: IrSimpleFunction? by lazyVar(lock) {
if (fir.isConst) return@lazyVar null
val signature = signatureComposer.composeAccessorSignature(
fir,
isSetter = false,