Correct phase argument names and cli test outputs

This commit is contained in:
Georgy Bronnikov
2019-02-15 15:20:10 +03:00
parent 5ff1337ec8
commit c618ef9304
4 changed files with 11 additions and 5 deletions
@@ -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 {