Improved parsing of internal compiler arguments with boolean state in

case when the argument is listed twice in the list of command line
arguments. The last value will be used.
#KT-27181 Fixed
This commit is contained in:
Andrey Uskov
2019-04-27 22:48:59 +03:00
parent affe8baf74
commit 998a24414a
6 changed files with 52 additions and 1 deletions
@@ -296,6 +296,16 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/internalArgNoWarningForEnablingBugfix.args");
}
@TestMetadata("internalArgOverrideLanguageFeature.args")
public void testInternalArgOverrideLanguageFeature() throws Exception {
runTest("compiler/testData/cli/jvm/internalArgOverrideLanguageFeature.args");
}
@TestMetadata("internalArgOverrideOffLanguageFeature.args")
public void testInternalArgOverrideOffLanguageFeature() throws Exception {
runTest("compiler/testData/cli/jvm/internalArgOverrideOffLanguageFeature.args");
}
@TestMetadata("internalArgUnrecognizedFeature.args")
public void testInternalArgUnrecognizedFeature() throws Exception {
runTest("compiler/testData/cli/jvm/internalArgUnrecognizedFeature.args");