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) {
|
||||
if (fir.isConst) return@lazyVar null
|
||||
val signature = signatureComposer.composeAccessorSignature(
|
||||
fir,
|
||||
isSetter = false,
|
||||
|
||||
Reference in New Issue
Block a user