Correct phase argument names and cli test outputs
This commit is contained in:
+3
-3
@@ -239,16 +239,16 @@ abstract class CommonCompilerArguments : CommonToolArguments() {
|
||||
var profilePhases: Boolean by FreezableVar(false)
|
||||
|
||||
@Argument(
|
||||
value = "-Xcheck-conditions",
|
||||
value = "-Xcheck-phase-conditions",
|
||||
description = "Check pre- and postconditions on phases"
|
||||
)
|
||||
var checkPhaseConditions: Boolean by FreezableVar(false)
|
||||
|
||||
@Argument(
|
||||
value = "-Xcheck-sticky-conditions",
|
||||
value = "-Xcheck-sticky-phase-conditions",
|
||||
description = "Run sticky condition checks on subsequent phases as well. Implies -Xcheck-conditions"
|
||||
)
|
||||
var checkStickyConditions: Boolean by FreezableVar(false)
|
||||
var checkStickyPhaseConditions: Boolean by FreezableVar(false)
|
||||
|
||||
open fun configureAnalysisFlags(collector: MessageCollector): MutableMap<AnalysisFlag<*>, Any> {
|
||||
return HashMap<AnalysisFlag<*>, Any>().apply {
|
||||
|
||||
@@ -53,8 +53,8 @@ fun <A : CommonCompilerArguments> CompilerConfiguration.setupCommonArguments(
|
||||
}
|
||||
|
||||
put(CommonConfigurationKeys.PROFILE_PHASES, arguments.profilePhases)
|
||||
put(CommonConfigurationKeys.CHECK_PHASE_CONDITIONS, arguments.checkPhaseConditions or arguments.checkStickyConditions)
|
||||
put(CommonConfigurationKeys.CHECK_STICKY_CONDITIONS, arguments.checkStickyConditions)
|
||||
put(CommonConfigurationKeys.CHECK_PHASE_CONDITIONS, arguments.checkPhaseConditions or arguments.checkStickyPhaseConditions)
|
||||
put(CommonConfigurationKeys.CHECK_STICKY_CONDITIONS, arguments.checkStickyPhaseConditions)
|
||||
}
|
||||
|
||||
fun <A : CommonCompilerArguments> CompilerConfiguration.setupLanguageVersionSettings(arguments: A) {
|
||||
|
||||
Reference in New Issue
Block a user