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:
@@ -159,7 +159,6 @@ class Fir2IrLazyProperty(
|
|||||||
}
|
}
|
||||||
|
|
||||||
override var getter: IrSimpleFunction? by lazyVar(lock) {
|
override var getter: IrSimpleFunction? by lazyVar(lock) {
|
||||||
if (fir.isConst) return@lazyVar null
|
|
||||||
val signature = signatureComposer.composeAccessorSignature(
|
val signature = signatureComposer.composeAccessorSignature(
|
||||||
fir,
|
fir,
|
||||||
isSetter = false,
|
isSetter = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user