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
@@ -96,6 +96,10 @@ object CommonConfigurationKeys {
@JvmField
val EVALUATED_CONST_TRACKER =
CompilerConfigurationKey.create<EvaluatedConstTracker>("Keeps track of all evaluated by IrInterpreter constants")
@JvmField
val USE_IR_FAKE_OVERRIDE_BUILDER =
CompilerConfigurationKey.create<Boolean>("Generate fake overrides via IR. See KT-61514")
}
var CompilerConfiguration.languageVersionSettings: LanguageVersionSettings