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
@@ -241,6 +241,8 @@ fun transformFirToIr(
.putIfAbsent(CommonConfigurationKeys.EVALUATED_CONST_TRACKER, EvaluatedConstTracker.create()),
inlineConstTracker = null,
allowNonCachedDeclarations = false,
useIrFakeOverrideBuilder =
moduleStructure.compilerConfiguration.getBoolean(CommonConfigurationKeys.USE_IR_FAKE_OVERRIDE_BUILDER),
),
IrGenerationExtension.getInstances(moduleStructure.project),
signatureComposer = DescriptorSignatureComposerStub(JsManglerDesc),