[CLI] Introduce compiler argument to suppress error about API version

...greater than language version.

^KT-63712
This commit is contained in:
Roman Efremov
2024-02-08 15:59:43 +01:00
committed by Space Team
parent 22a6ffab6f
commit 1f30d076de
10 changed files with 62 additions and 4 deletions
@@ -215,6 +215,16 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/apiVersionGreaterThanLanguage.args");
}
@TestMetadata("apiVersionGreaterThanLanguageSuppress.args")
public void testApiVersionGreaterThanLanguageSuppress() throws Exception {
runTest("compiler/testData/cli/jvm/apiVersionGreaterThanLanguageSuppress.args");
}
@TestMetadata("apiVersionGreaterThanLanguageSuppressUseless.args")
public void testApiVersionGreaterThanLanguageSuppressUseless() throws Exception {
runTest("compiler/testData/cli/jvm/apiVersionGreaterThanLanguageSuppressUseless.args");
}
@TestMetadata("apiVersionInvalid.args")
public void testApiVersionInvalid() throws Exception {
runTest("compiler/testData/cli/jvm/apiVersionInvalid.args");