CLI: add -Xuse-ir-fake-override-builder

To be able to test IR fake override builder (KT-61514) outside of
compiler tests.
This commit is contained in:
Alexander Udalov
2023-09-04 18:02:18 +02:00
parent d528faa0fe
commit fd68b9f49c
15 changed files with 42 additions and 9 deletions
@@ -81,6 +81,7 @@ internal fun PhaseContext.fir2Ir(
.putIfAbsent(CommonConfigurationKeys.EVALUATED_CONST_TRACKER, EvaluatedConstTracker.create()),
inlineConstTracker = null,
allowNonCachedDeclarations = false,
useIrFakeOverrideBuilder = configuration.getBoolean(CommonConfigurationKeys.USE_IR_FAKE_OVERRIDE_BUILDER),
)
val (irModuleFragment, components, pluginContext, irActualizedResult) = input.firResult.convertToIrAndActualize(
fir2IrExtensions,