diff --git a/compiler/testData/cli/js/irApiVersionUnsupported.args b/compiler/testData/cli/js/irApiVersionUnsupported.args deleted file mode 100644 index f9e288f0150..00000000000 --- a/compiler/testData/cli/js/irApiVersionUnsupported.args +++ /dev/null @@ -1,8 +0,0 @@ -$TESTDATA_DIR$/simple2js.kt --Xir-produce-js --language-version -1.4 --api-version -1.3 --output -$TEMP_DIR$/out.js diff --git a/compiler/testData/cli/js/irApiVersionUnsupported.out b/compiler/testData/cli/js/irApiVersionUnsupported.out deleted file mode 100644 index 3d24845a16a..00000000000 --- a/compiler/testData/cli/js/irApiVersionUnsupported.out +++ /dev/null @@ -1,3 +0,0 @@ -warning: API version 1.3 is deprecated and its support will be removed in a future version of Kotlin -error: IR backend cannot be used with language or API version below 1.4 -COMPILATION_ERROR diff --git a/compiler/testData/cli/js/irLanguageVersionUnsupported.args b/compiler/testData/cli/js/irLanguageVersionUnsupported.args deleted file mode 100644 index b9d94dcbcfc..00000000000 --- a/compiler/testData/cli/js/irLanguageVersionUnsupported.args +++ /dev/null @@ -1,6 +0,0 @@ -$TESTDATA_DIR$/simple2js.kt --Xir-produce-js --language-version -1.3 --output -$TEMP_DIR$/out.js diff --git a/compiler/testData/cli/js/irLanguageVersionUnsupported.out b/compiler/testData/cli/js/irLanguageVersionUnsupported.out deleted file mode 100644 index 1aaec27e5df..00000000000 --- a/compiler/testData/cli/js/irLanguageVersionUnsupported.out +++ /dev/null @@ -1,3 +0,0 @@ -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin -error: IR backend cannot be used with language or API version below 1.4 -COMPILATION_ERROR diff --git a/compiler/testData/cli/js/languageVersion.args b/compiler/testData/cli/js/languageVersion.args index b571ef026b5..80e74ad5cb1 100644 --- a/compiler/testData/cli/js/languageVersion.args +++ b/compiler/testData/cli/js/languageVersion.args @@ -2,4 +2,4 @@ $TESTDATA_DIR$/languageVersion.kt -output $TEMP_DIR$/out.js -language-version -1.3 +1.4 diff --git a/compiler/testData/cli/js/languageVersion.kt b/compiler/testData/cli/js/languageVersion.kt index 56cd89c4a35..bf2d9e05294 100644 --- a/compiler/testData/cli/js/languageVersion.kt +++ b/compiler/testData/cli/js/languageVersion.kt @@ -1,9 +1,4 @@ package test -fun test() { - while (true) { - when { - true -> break - } - } -} +sealed interface Polygon + diff --git a/compiler/testData/cli/js/languageVersion.out b/compiler/testData/cli/js/languageVersion.out index 4414801d4cf..446f2a77ebe 100644 --- a/compiler/testData/cli/js/languageVersion.out +++ b/compiler/testData/cli/js/languageVersion.out @@ -1,5 +1,5 @@ -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin -compiler/testData/cli/js/languageVersion.kt:6:21: error: 'break' and 'continue' are not allowed in 'when' statements. Consider using labels to continue/break from the outer loop - true -> break - ^ +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin +compiler/testData/cli/js/languageVersion.kt:3:1: error: the feature "sealed interfaces" is only available since language version 1.5 +sealed interface Polygon +^ COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/apiAndLanguageVersionsUnsupported.out b/compiler/testData/cli/jvm/apiAndLanguageVersionsUnsupported.out index 58a0033b730..4bb5d5b4b2c 100644 --- a/compiler/testData/cli/jvm/apiAndLanguageVersionsUnsupported.out +++ b/compiler/testData/cli/jvm/apiAndLanguageVersionsUnsupported.out @@ -1,2 +1,2 @@ -error: language version 1.1 is no longer supported; please, use version 1.3 or greater. +error: language version 1.1 is no longer supported; please, use version 1.4 or greater. COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/apiVersion.args b/compiler/testData/cli/jvm/apiVersion.args index 404c9b50959..1dd73777d67 100644 --- a/compiler/testData/cli/jvm/apiVersion.args +++ b/compiler/testData/cli/jvm/apiVersion.args @@ -2,4 +2,4 @@ $TESTDATA_DIR$/apiVersion.kt -d $TEMP_DIR$ -api-version -1.3 +1.4 diff --git a/compiler/testData/cli/jvm/apiVersion.out b/compiler/testData/cli/jvm/apiVersion.out index 6a8dab0a7c0..554a1000728 100644 --- a/compiler/testData/cli/jvm/apiVersion.out +++ b/compiler/testData/cli/jvm/apiVersion.out @@ -1,4 +1,4 @@ -warning: API version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: API version 1.4 is deprecated and its support will be removed in a future version of Kotlin compiler/testData/cli/jvm/apiVersion.kt:4:5: warning: parameter 'p00' is never used p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A, ^ diff --git a/compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.args b/compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.args index 4ac04500264..c9ab3a90e3c 100644 --- a/compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.args +++ b/compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.args @@ -2,4 +2,4 @@ $TESTDATA_DIR$/apiVersionAndSinceNewerKotlin.kt -d $TEMP_DIR$ -api-version -1.3 +1.4 diff --git a/compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.kt b/compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.kt index 0154fa922ba..bbb8764f3a2 100644 --- a/compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.kt +++ b/compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.kt @@ -1,5 +1,5 @@ -@SinceKotlin("1.3") +@SinceKotlin("1.4") fun old() {} -@SinceKotlin("1.4") +@SinceKotlin("1.5") fun new() {} diff --git a/compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.out b/compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.out index d4b8817fca4..77f33986ee9 100644 --- a/compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.out +++ b/compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.out @@ -1,5 +1,5 @@ -warning: API version 1.3 is deprecated and its support will be removed in a future version of Kotlin -compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.kt:4:1: warning: the version is greater than the specified API version 1.3 -@SinceKotlin("1.4") +warning: API version 1.4 is deprecated and its support will be removed in a future version of Kotlin +compiler/testData/cli/jvm/apiVersionAndSinceNewerKotlin.kt:4:1: warning: the version is greater than the specified API version 1.4 +@SinceKotlin("1.5") ^ OK diff --git a/compiler/testData/cli/jvm/apiVersionGreaterThanLanguage.args b/compiler/testData/cli/jvm/apiVersionGreaterThanLanguage.args index 2097bb3a0ff..d411b6e5d6d 100644 --- a/compiler/testData/cli/jvm/apiVersionGreaterThanLanguage.args +++ b/compiler/testData/cli/jvm/apiVersionGreaterThanLanguage.args @@ -2,6 +2,6 @@ $TESTDATA_DIR$/apiVersion.kt -d $TEMP_DIR$ -api-version -1.4 +1.5 -language-version -1.3 +1.4 diff --git a/compiler/testData/cli/jvm/apiVersionGreaterThanLanguage.out b/compiler/testData/cli/jvm/apiVersionGreaterThanLanguage.out index b75e3a994ea..139c6778188 100644 --- a/compiler/testData/cli/jvm/apiVersionGreaterThanLanguage.out +++ b/compiler/testData/cli/jvm/apiVersionGreaterThanLanguage.out @@ -1,3 +1,3 @@ -error: -api-version (1.4) cannot be greater than -language-version (1.3) -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin +error: -api-version (1.5) cannot be greater than -language-version (1.4) +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/apiVersionInvalid.out b/compiler/testData/cli/jvm/apiVersionInvalid.out index 6113c28a544..15ce0ddfa8f 100644 --- a/compiler/testData/cli/jvm/apiVersionInvalid.out +++ b/compiler/testData/cli/jvm/apiVersionInvalid.out @@ -1,3 +1,3 @@ error: unknown API version: 239.42 -Supported API versions: 1.3 (DEPRECATED), 1.4, 1.5, 1.6 (EXPERIMENTAL), 1.7 (EXPERIMENTAL) +Supported API versions: 1.4 (DEPRECATED), 1.5, 1.6, 1.7 (EXPERIMENTAL) COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/apiVersionLessThanLanguage.argfile b/compiler/testData/cli/jvm/apiVersionLessThanLanguage.argfile index 4d4b695158b..04bbf41cc79 100644 --- a/compiler/testData/cli/jvm/apiVersionLessThanLanguage.argfile +++ b/compiler/testData/cli/jvm/apiVersionLessThanLanguage.argfile @@ -1 +1 @@ -$TESTDATA_DIR$/apiVersion.kt -d $TEMP_DIR$ -api-version 1.3 -language-version 1.4 +$TESTDATA_DIR$/apiVersion.kt -d $TEMP_DIR$ -api-version 1.4 -language-version 1.5 diff --git a/compiler/testData/cli/jvm/apiVersionLessThanLanguage.args b/compiler/testData/cli/jvm/apiVersionLessThanLanguage.args index af95ae6168f..405f56a86a4 100644 --- a/compiler/testData/cli/jvm/apiVersionLessThanLanguage.args +++ b/compiler/testData/cli/jvm/apiVersionLessThanLanguage.args @@ -2,6 +2,6 @@ $TESTDATA_DIR$/apiVersion.kt -d $TEMP_DIR$ -api-version -1.3 --language-version 1.4 +-language-version +1.5 diff --git a/compiler/testData/cli/jvm/apiVersionLessThanLanguage.out b/compiler/testData/cli/jvm/apiVersionLessThanLanguage.out index 6a8dab0a7c0..554a1000728 100644 --- a/compiler/testData/cli/jvm/apiVersionLessThanLanguage.out +++ b/compiler/testData/cli/jvm/apiVersionLessThanLanguage.out @@ -1,4 +1,4 @@ -warning: API version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: API version 1.4 is deprecated and its support will be removed in a future version of Kotlin compiler/testData/cli/jvm/apiVersion.kt:4:5: warning: parameter 'p00' is never used p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A, ^ diff --git a/compiler/testData/cli/jvm/apiVersionLessThanLanguageUsingArgfile.out b/compiler/testData/cli/jvm/apiVersionLessThanLanguageUsingArgfile.out index 6a8dab0a7c0..554a1000728 100644 --- a/compiler/testData/cli/jvm/apiVersionLessThanLanguageUsingArgfile.out +++ b/compiler/testData/cli/jvm/apiVersionLessThanLanguageUsingArgfile.out @@ -1,4 +1,4 @@ -warning: API version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: API version 1.4 is deprecated and its support will be removed in a future version of Kotlin compiler/testData/cli/jvm/apiVersion.kt:4:5: warning: parameter 'p00' is never used p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A, ^ diff --git a/compiler/testData/cli/jvm/apiVersionUnsupported.out b/compiler/testData/cli/jvm/apiVersionUnsupported.out index fefaea7f7bc..9fb625249fb 100644 --- a/compiler/testData/cli/jvm/apiVersionUnsupported.out +++ b/compiler/testData/cli/jvm/apiVersionUnsupported.out @@ -1,2 +1,2 @@ -error: API version 1.1 is no longer supported; please, use version 1.3 or greater. +error: API version 1.1 is no longer supported; please, use version 1.4 or greater. COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/argfileWithEscaping.argfile b/compiler/testData/cli/jvm/argfileWithEscaping.argfile index 5be4a50a0b8..0a9548685b6 100644 --- a/compiler/testData/cli/jvm/argfileWithEscaping.argfile +++ b/compiler/testData/cli/jvm/argfileWithEscaping.argfile @@ -2,4 +2,4 @@ -X'single \" quote " escaped \' sequence \\' $TESTDATA_DIR$/apiVersion.kt -d -$TEMP_DIR$ -api-version 1.3 -language-version 1.4 +$TEMP_DIR$ -api-version 1.4 -language-version 1.5 diff --git a/compiler/testData/cli/jvm/argfileWithEscaping.out b/compiler/testData/cli/jvm/argfileWithEscaping.out index 22f55863f57..f4def7f9954 100644 --- a/compiler/testData/cli/jvm/argfileWithEscaping.out +++ b/compiler/testData/cli/jvm/argfileWithEscaping.out @@ -1,6 +1,6 @@ warning: flag is not supported by this version of the compiler: -Xdouble ' quote ' escaped " sequence / warning: flag is not supported by this version of the compiler: -Xsingle " quote " escaped ' sequence / -warning: API version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: API version 1.4 is deprecated and its support will be removed in a future version of Kotlin compiler/testData/cli/jvm/apiVersion.kt:4:5: warning: parameter 'p00' is never used p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A, ^ diff --git a/compiler/testData/cli/jvm/deprecatedApiVersion.args b/compiler/testData/cli/jvm/deprecatedApiVersion.args index 3797012d319..726961aeb91 100644 --- a/compiler/testData/cli/jvm/deprecatedApiVersion.args +++ b/compiler/testData/cli/jvm/deprecatedApiVersion.args @@ -2,4 +2,4 @@ $TESTDATA_DIR$/simple.kt -d $TEMP_DIR$ -api-version -1.3 +1.4 diff --git a/compiler/testData/cli/jvm/deprecatedApiVersion.out b/compiler/testData/cli/jvm/deprecatedApiVersion.out index f5a5aee1ea3..5e8d0116b04 100644 --- a/compiler/testData/cli/jvm/deprecatedApiVersion.out +++ b/compiler/testData/cli/jvm/deprecatedApiVersion.out @@ -1,2 +1,2 @@ -warning: API version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: API version 1.4 is deprecated and its support will be removed in a future version of Kotlin OK diff --git a/compiler/testData/cli/jvm/deprecatedLanguageUnsupportedApi.out b/compiler/testData/cli/jvm/deprecatedLanguageUnsupportedApi.out index 8a2d8464d6e..e9fa4e495bc 100644 --- a/compiler/testData/cli/jvm/deprecatedLanguageUnsupportedApi.out +++ b/compiler/testData/cli/jvm/deprecatedLanguageUnsupportedApi.out @@ -1,2 +1,2 @@ -error: language version 1.2 is no longer supported; please, use version 1.3 or greater. +error: language version 1.2 is no longer supported; please, use version 1.4 or greater. COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/deprecatedLanguageVersion.args b/compiler/testData/cli/jvm/deprecatedLanguageVersion.args index fa86087583c..37176830028 100644 --- a/compiler/testData/cli/jvm/deprecatedLanguageVersion.args +++ b/compiler/testData/cli/jvm/deprecatedLanguageVersion.args @@ -2,4 +2,4 @@ $TESTDATA_DIR$/simple.kt -d $TEMP_DIR$ -language-version -1.3 +1.4 diff --git a/compiler/testData/cli/jvm/deprecatedLanguageVersion.out b/compiler/testData/cli/jvm/deprecatedLanguageVersion.out index ae74f0da431..856bf234263 100644 --- a/compiler/testData/cli/jvm/deprecatedLanguageVersion.out +++ b/compiler/testData/cli/jvm/deprecatedLanguageVersion.out @@ -1,2 +1,2 @@ -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin OK diff --git a/compiler/testData/cli/jvm/internalArgEnableLanguageFeature.args b/compiler/testData/cli/jvm/internalArgEnableLanguageFeature.args index 822c33b4864..e98cb219d37 100644 --- a/compiler/testData/cli/jvm/internalArgEnableLanguageFeature.args +++ b/compiler/testData/cli/jvm/internalArgEnableLanguageFeature.args @@ -2,5 +2,5 @@ $TESTDATA_DIR$/variableInWhenSubject.kt -d $TEMP_DIR$ -language-version -1.3 +1.4 -XXLanguage\:+VariableDeclarationInWhenSubject diff --git a/compiler/testData/cli/jvm/internalArgEnableLanguageFeature.out b/compiler/testData/cli/jvm/internalArgEnableLanguageFeature.out index f5e17f06e11..45fabdd0ddc 100644 --- a/compiler/testData/cli/jvm/internalArgEnableLanguageFeature.out +++ b/compiler/testData/cli/jvm/internalArgEnableLanguageFeature.out @@ -7,5 +7,5 @@ This mode is not recommended for production use, as no stability/compatibility guarantees are given on compiler or generated code. Use it at your own risk! -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin OK diff --git a/compiler/testData/cli/jvm/internalArgNoWarningForEnablingBugfix.args b/compiler/testData/cli/jvm/internalArgNoWarningForEnablingBugfix.args index 7d24690f7c6..1f9022a3250 100644 --- a/compiler/testData/cli/jvm/internalArgNoWarningForEnablingBugfix.args +++ b/compiler/testData/cli/jvm/internalArgNoWarningForEnablingBugfix.args @@ -2,5 +2,5 @@ $TESTDATA_DIR$/simple.kt -d $TEMP_DIR$ -language-version -1.3 +1.4 -XXLanguage\:+RestrictReturnStatementTarget diff --git a/compiler/testData/cli/jvm/internalArgNoWarningForEnablingBugfix.out b/compiler/testData/cli/jvm/internalArgNoWarningForEnablingBugfix.out index ae74f0da431..856bf234263 100644 --- a/compiler/testData/cli/jvm/internalArgNoWarningForEnablingBugfix.out +++ b/compiler/testData/cli/jvm/internalArgNoWarningForEnablingBugfix.out @@ -1,2 +1,2 @@ -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin OK diff --git a/compiler/testData/cli/jvm/internalArgOverrideOffLanguageFeature.out b/compiler/testData/cli/jvm/internalArgOverrideOffLanguageFeature.out index c4a3a015d8e..7981ddb7f6f 100644 --- a/compiler/testData/cli/jvm/internalArgOverrideOffLanguageFeature.out +++ b/compiler/testData/cli/jvm/internalArgOverrideOffLanguageFeature.out @@ -7,7 +7,6 @@ This mode is not recommended for production use, as no stability/compatibility guarantees are given on compiler or generated code. Use it at your own risk! -compiler/testData/cli/jvm/inlineClass.kt:1:1: warning: 'inline' modifier is deprecated. Use 'value' instead -inline class Foo(val x: Int) -^ -OK +error: the following features cannot be disabled manually, because the version they first appeared in is no longer supported: +InlineClasses +COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/irApiVersionUnsupported.args b/compiler/testData/cli/jvm/irApiVersionUnsupported.args deleted file mode 100644 index ebfd56ee9dc..00000000000 --- a/compiler/testData/cli/jvm/irApiVersionUnsupported.args +++ /dev/null @@ -1,8 +0,0 @@ -$TESTDATA_DIR$/simple.kt --d -$TEMP_DIR$ --language-version -1.4 --api-version -1.3 --Xuse-ir diff --git a/compiler/testData/cli/jvm/irApiVersionUnsupported.out b/compiler/testData/cli/jvm/irApiVersionUnsupported.out deleted file mode 100644 index f5a5aee1ea3..00000000000 --- a/compiler/testData/cli/jvm/irApiVersionUnsupported.out +++ /dev/null @@ -1,2 +0,0 @@ -warning: API version 1.3 is deprecated and its support will be removed in a future version of Kotlin -OK diff --git a/compiler/testData/cli/jvm/irLanguageVersionUnsupported.args b/compiler/testData/cli/jvm/irLanguageVersionUnsupported.args deleted file mode 100644 index c23b1a7463c..00000000000 --- a/compiler/testData/cli/jvm/irLanguageVersionUnsupported.args +++ /dev/null @@ -1,6 +0,0 @@ -$TESTDATA_DIR$/simple.kt --d -$TEMP_DIR$ --language-version -1.3 --Xuse-ir diff --git a/compiler/testData/cli/jvm/irLanguageVersionUnsupported.out b/compiler/testData/cli/jvm/irLanguageVersionUnsupported.out deleted file mode 100644 index ae74f0da431..00000000000 --- a/compiler/testData/cli/jvm/irLanguageVersionUnsupported.out +++ /dev/null @@ -1,2 +0,0 @@ -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin -OK diff --git a/compiler/testData/cli/jvm/irSupported.args b/compiler/testData/cli/jvm/irSupported.args index 0031a829d66..eeec739a45e 100644 --- a/compiler/testData/cli/jvm/irSupported.args +++ b/compiler/testData/cli/jvm/irSupported.args @@ -2,7 +2,7 @@ $TESTDATA_DIR$/simple.kt -d $TEMP_DIR$ -language-version -1.3 +1.4 -api-version -1.3 +1.4 -Xuse-ir diff --git a/compiler/testData/cli/jvm/irSupported.out b/compiler/testData/cli/jvm/irSupported.out index ae74f0da431..856bf234263 100644 --- a/compiler/testData/cli/jvm/irSupported.out +++ b/compiler/testData/cli/jvm/irSupported.out @@ -1,2 +1,2 @@ -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin OK diff --git a/compiler/testData/cli/jvm/jspecifyByLv16.out b/compiler/testData/cli/jvm/jspecifyByLv16.out index 78f928f41f7..2a911ebf791 100644 --- a/compiler/testData/cli/jvm/jspecifyByLv16.out +++ b/compiler/testData/cli/jvm/jspecifyByLv16.out @@ -1,4 +1,3 @@ -warning: language version 1.6 is experimental, there are no backwards compatibility guarantees for new language and library features compiler/testData/cli/jvm/jspecifyUsage.kt:2:11: error: null can not be a value of a non-null type String a.foo(null) ^ diff --git a/compiler/testData/cli/jvm/jspecifyDefault.out b/compiler/testData/cli/jvm/jspecifyDefault.out index 7c2a6d77f6e..2a911ebf791 100644 --- a/compiler/testData/cli/jvm/jspecifyDefault.out +++ b/compiler/testData/cli/jvm/jspecifyDefault.out @@ -1,7 +1,4 @@ -compiler/testData/cli/jvm/jspecifyUsage.kt:2:11: warning: type mismatch: inferred type is Nothing? but String was expected +compiler/testData/cli/jvm/jspecifyUsage.kt:2:11: error: null can not be a value of a non-null type String a.foo(null) ^ -compiler/testData/cli/jvm/jspecifyUsage.kt:3:5: warning: unsafe use of a nullable receiver of type String? - a.bar().hashCode() - ^ -OK +COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/jvmIrByDefault1_4.out b/compiler/testData/cli/jvm/jvmIrByDefault1_4.out index d86bac9de59..856bf234263 100644 --- a/compiler/testData/cli/jvm/jvmIrByDefault1_4.out +++ b/compiler/testData/cli/jvm/jvmIrByDefault1_4.out @@ -1 +1,2 @@ +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin OK diff --git a/compiler/testData/cli/jvm/kt19628_13.args b/compiler/testData/cli/jvm/kt19628_13.args index 47aee6e47dc..58b953e52f2 100644 --- a/compiler/testData/cli/jvm/kt19628_13.args +++ b/compiler/testData/cli/jvm/kt19628_13.args @@ -1,5 +1,5 @@ $TESTDATA_DIR$/kt19628_13.kt -language-version -1.3 +1.4 -d $TEMP_DIR$ \ No newline at end of file diff --git a/compiler/testData/cli/jvm/kt19628_13.out b/compiler/testData/cli/jvm/kt19628_13.out index a42779fc389..8b6df252700 100644 --- a/compiler/testData/cli/jvm/kt19628_13.out +++ b/compiler/testData/cli/jvm/kt19628_13.out @@ -1,4 +1,4 @@ -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin compiler/testData/cli/jvm/kt19628_13.kt:5:29: error: unresolved reference: CollapsedStringAdapter @get:XmlJavaTypeAdapter(CollapsedStringAdapter::class) ^ diff --git a/compiler/testData/cli/jvm/languageVersion.kt b/compiler/testData/cli/jvm/languageVersion.kt index 56cd89c4a35..8f6a0243f5a 100644 --- a/compiler/testData/cli/jvm/languageVersion.kt +++ b/compiler/testData/cli/jvm/languageVersion.kt @@ -1,9 +1,3 @@ package test -fun test() { - while (true) { - when { - true -> break - } - } -} +sealed interface Polygon \ No newline at end of file diff --git a/compiler/testData/cli/jvm/languageVersion.out b/compiler/testData/cli/jvm/languageVersion.out index d86bac9de59..3583dda099f 100644 --- a/compiler/testData/cli/jvm/languageVersion.out +++ b/compiler/testData/cli/jvm/languageVersion.out @@ -1 +1,5 @@ -OK +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin +compiler/testData/cli/jvm/languageVersion.kt:3:1: error: the feature "sealed interfaces" is only available since language version 1.5 +sealed interface Polygon +^ +COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/languageVersionInvalid.out b/compiler/testData/cli/jvm/languageVersionInvalid.out index 37c8add550b..d6133b7d59b 100644 --- a/compiler/testData/cli/jvm/languageVersionInvalid.out +++ b/compiler/testData/cli/jvm/languageVersionInvalid.out @@ -1,3 +1,3 @@ error: unknown language version: 239.42 -Supported language versions: 1.3 (DEPRECATED), 1.4, 1.5, 1.6 (EXPERIMENTAL), 1.7 (EXPERIMENTAL) +Supported language versions: 1.4 (DEPRECATED), 1.5, 1.6, 1.7 (EXPERIMENTAL) COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/languageVersionUnsupported.out b/compiler/testData/cli/jvm/languageVersionUnsupported.out index 58a0033b730..4bb5d5b4b2c 100644 --- a/compiler/testData/cli/jvm/languageVersionUnsupported.out +++ b/compiler/testData/cli/jvm/languageVersionUnsupported.out @@ -1,2 +1,2 @@ -error: language version 1.1 is no longer supported; please, use version 1.3 or greater. +error: language version 1.1 is no longer supported; please, use version 1.4 or greater. COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/mixingArgfilesAndUsualArgs.argfile b/compiler/testData/cli/jvm/mixingArgfilesAndUsualArgs.argfile index 9c5eaa817d6..38a0bd656e2 100644 --- a/compiler/testData/cli/jvm/mixingArgfilesAndUsualArgs.argfile +++ b/compiler/testData/cli/jvm/mixingArgfilesAndUsualArgs.argfile @@ -1 +1 @@ -$TEMP_DIR$ -api-version 1.3 -language-version 1.4 +$TEMP_DIR$ -api-version 1.4 -language-version 1.5 diff --git a/compiler/testData/cli/jvm/mixingArgfilesAndUsualArgs.out b/compiler/testData/cli/jvm/mixingArgfilesAndUsualArgs.out index 6a8dab0a7c0..554a1000728 100644 --- a/compiler/testData/cli/jvm/mixingArgfilesAndUsualArgs.out +++ b/compiler/testData/cli/jvm/mixingArgfilesAndUsualArgs.out @@ -1,4 +1,4 @@ -warning: API version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: API version 1.4 is deprecated and its support will be removed in a future version of Kotlin compiler/testData/cli/jvm/apiVersion.kt:4:5: warning: parameter 'p00' is never used p00: A, p01: A, p02: A, p03: A, p04: A, p05: A, p06: A, p07: A, p08: A, p09: A, ^ diff --git a/compiler/testData/cli/jvm/progressiveModeOff.args b/compiler/testData/cli/jvm/progressiveModeOff.args index e7f51194cac..88721a77e0e 100644 --- a/compiler/testData/cli/jvm/progressiveModeOff.args +++ b/compiler/testData/cli/jvm/progressiveModeOff.args @@ -2,4 +2,4 @@ $TESTDATA_DIR$/progressive -d $TEMP_DIR$ -language-version -1.4 +1.5 diff --git a/compiler/testData/cli/jvm/resultInReturnTypeUnsupportedByDefault14.out b/compiler/testData/cli/jvm/resultInReturnTypeUnsupportedByDefault14.out index 0e1d610cb16..23801f7c17d 100644 --- a/compiler/testData/cli/jvm/resultInReturnTypeUnsupportedByDefault14.out +++ b/compiler/testData/cli/jvm/resultInReturnTypeUnsupportedByDefault14.out @@ -1,3 +1,4 @@ +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin compiler/testData/cli/jvm/resultInReturnType.kt:1:5: error: 'kotlin.Result' cannot be used as a return type fun foo() = Result.success(42) ^ diff --git a/compiler/testData/cli/jvm/resultInReturnTypeWithEnabledInlineClasses.out b/compiler/testData/cli/jvm/resultInReturnTypeWithEnabledInlineClasses.out index 0e1d610cb16..23801f7c17d 100644 --- a/compiler/testData/cli/jvm/resultInReturnTypeWithEnabledInlineClasses.out +++ b/compiler/testData/cli/jvm/resultInReturnTypeWithEnabledInlineClasses.out @@ -1,3 +1,4 @@ +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin compiler/testData/cli/jvm/resultInReturnType.kt:1:5: error: 'kotlin.Result' cannot be used as a return type fun foo() = Result.success(42) ^ diff --git a/compiler/testData/cli/jvm/resultInReturnTypeWithEnabledInlineClassesXX.out b/compiler/testData/cli/jvm/resultInReturnTypeWithEnabledInlineClassesXX.out index 53990cf80e6..c2802368d2d 100644 --- a/compiler/testData/cli/jvm/resultInReturnTypeWithEnabledInlineClassesXX.out +++ b/compiler/testData/cli/jvm/resultInReturnTypeWithEnabledInlineClassesXX.out @@ -7,6 +7,7 @@ This mode is not recommended for production use, as no stability/compatibility guarantees are given on compiler or generated code. Use it at your own risk! +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin compiler/testData/cli/jvm/resultInReturnType.kt:1:5: error: 'kotlin.Result' cannot be used as a return type fun foo() = Result.success(42) ^ diff --git a/compiler/testData/cli/jvm/standaloneSamConversionsBaseline_1_3.args b/compiler/testData/cli/jvm/standaloneSamConversionsBaseline_1_3.args deleted file mode 100644 index b0959da93b9..00000000000 --- a/compiler/testData/cli/jvm/standaloneSamConversionsBaseline_1_3.args +++ /dev/null @@ -1,5 +0,0 @@ -$TESTDATA_DIR$/standaloneSamConversionsAreEnabledWithNewInference.kt --d -$TEMP_DIR$ --language-version -1.3 \ No newline at end of file diff --git a/compiler/testData/cli/jvm/standaloneSamConversionsBaseline_1_3.out b/compiler/testData/cli/jvm/standaloneSamConversionsBaseline_1_3.out deleted file mode 100644 index 86f7ce9c672..00000000000 --- a/compiler/testData/cli/jvm/standaloneSamConversionsBaseline_1_3.out +++ /dev/null @@ -1,8 +0,0 @@ -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin -compiler/testData/cli/jvm/standaloneSamConversionsAreEnabledWithNewInference.kt:9:25: error: type mismatch: inferred type is () -> Unit but Runnable was expected - ForceSam.compare(r, {}) - ^ -compiler/testData/cli/jvm/standaloneSamConversionsAreEnabledWithNewInference.kt:10:22: error: type mismatch: inferred type is () -> Unit but Runnable was expected - ForceSam.compare({}, r) - ^ -COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.args b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.args index 7bcf29e12b2..b986a034de0 100644 --- a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.args +++ b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.args @@ -2,4 +2,4 @@ $TESTDATA_DIR$/useDeclarationThatWasExperimentalWithoutExplicitImport.kt -d $TEMP_DIR$ -language-version -1.3 \ No newline at end of file +1.4 \ No newline at end of file diff --git a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.kt b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.kt index ff2e15a4ace..24d4887a8be 100644 --- a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.kt +++ b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.kt @@ -1,7 +1,5 @@ @ExperimentalStdlibApi -fun test(s: ArrayDeque): ArrayDeque? { - ArrayDeque(42) - - val x: ArrayDeque? = null - return x ?: s -} +fun test() { + "".lowercase() + 1.digitToChar() +} \ No newline at end of file diff --git a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.out b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.out index ae74f0da431..856bf234263 100644 --- a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.out +++ b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.out @@ -1,2 +1,2 @@ -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin OK diff --git a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args index 1a7f661be7a..d60caf91b1d 100644 --- a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args +++ b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args @@ -2,6 +2,6 @@ $TESTDATA_DIR$/useDeclarationThatWasExperimentalWithoutMarker.kt -d $TEMP_DIR$ -language-version -1.3 +1.4 -opt-in kotlin.ExperimentalStdlibApi \ No newline at end of file diff --git a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.out b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.out index ae74f0da431..856bf234263 100644 --- a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.out +++ b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.out @@ -1,2 +1,2 @@ -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin OK diff --git a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.args b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.args index da552d471db..09809021bda 100644 --- a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.args +++ b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.args @@ -2,4 +2,4 @@ $TESTDATA_DIR$/useDeclarationThatWasExperimentalWithoutMarker.kt -d $TEMP_DIR$ -language-version -1.3 \ No newline at end of file +1.4 \ No newline at end of file diff --git a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt index e8ef03407d0..687a8a4f253 100644 --- a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt +++ b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt @@ -1,6 +1,4 @@ -fun test(s: ArrayDeque): ArrayDeque? { - ArrayDeque(42) - - val x: ArrayDeque? = null - return x ?: s -} +fun test() { + "".lowercase() + 1.digitToChar() +} \ No newline at end of file diff --git a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.out b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.out index d649a1aa0ef..d51e36c17fb 100644 --- a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.out +++ b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.out @@ -1,23 +1,8 @@ -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin -compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt:1:13: error: this declaration is experimental and its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class)' -fun test(s: ArrayDeque): ArrayDeque? { - ^ -compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt:1:31: error: this declaration is experimental and its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class)' -fun test(s: ArrayDeque): ArrayDeque? { - ^ -compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt:2:5: error: unresolved reference: ArrayDeque - ArrayDeque(42) - ^ -compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt:4:12: error: this declaration is experimental and its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class)' - val x: ArrayDeque? = null - ^ -compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt:5:12: error: this declaration is experimental and its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class)' - return x ?: s - ^ -compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt:5:14: error: this declaration is experimental and its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class)' - return x ?: s - ^ -compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt:5:17: error: this declaration is experimental and its usage must be marked with '@kotlin.ExperimentalStdlibApi' or '@OptIn(kotlin.ExperimentalStdlibApi::class)' - return x ?: s - ^ +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin +compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt:2:8: error: unresolved reference: lowercase + "".lowercase() + ^ +compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.kt:3:7: error: unresolved reference: digitToChar + 1.digitToChar() + ^ COMPILATION_ERROR diff --git a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.args b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.args new file mode 100644 index 00000000000..5caae3c6215 --- /dev/null +++ b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.args @@ -0,0 +1,5 @@ +$TESTDATA_DIR$/useDeclarationThatWasExperimentalWithoutMarker2.kt +-d +$TEMP_DIR$ +-language-version +1.4 \ No newline at end of file diff --git a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.kt b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.kt new file mode 100644 index 00000000000..43d79d4fb26 --- /dev/null +++ b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.kt @@ -0,0 +1,5 @@ +//This test is extracted from useDeclarationThatWasExperimentalWithoutMarker.kt to check warnings in ouput +fun test(p: ULong) { + val z: ULong = p + z.inv() +} \ No newline at end of file diff --git a/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.out b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.out new file mode 100644 index 00000000000..e1c6fceaf63 --- /dev/null +++ b/compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.out @@ -0,0 +1,17 @@ +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin +compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.kt:2:13: warning: this declaration is experimental and its usage should be marked with '@kotlin.ExperimentalUnsignedTypes' or '@OptIn(kotlin.ExperimentalUnsignedTypes::class)' +fun test(p: ULong) { + ^ +compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.kt:3:12: warning: this declaration is experimental and its usage should be marked with '@kotlin.ExperimentalUnsignedTypes' or '@OptIn(kotlin.ExperimentalUnsignedTypes::class)' + val z: ULong = p + ^ +compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.kt:3:20: warning: this declaration is experimental and its usage should be marked with '@kotlin.ExperimentalUnsignedTypes' or '@OptIn(kotlin.ExperimentalUnsignedTypes::class)' + val z: ULong = p + ^ +compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.kt:4:5: warning: this declaration is experimental and its usage should be marked with '@kotlin.ExperimentalUnsignedTypes' or '@OptIn(kotlin.ExperimentalUnsignedTypes::class)' + z.inv() + ^ +compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.kt:4:7: warning: this declaration is experimental and its usage should be marked with '@kotlin.ExperimentalUnsignedTypes' or '@OptIn(kotlin.ExperimentalUnsignedTypes::class)' + z.inv() + ^ +OK diff --git a/compiler/testData/cli/jvm/variableInWhenSubject.args b/compiler/testData/cli/jvm/variableInWhenSubject.args index 822c33b4864..e98cb219d37 100644 --- a/compiler/testData/cli/jvm/variableInWhenSubject.args +++ b/compiler/testData/cli/jvm/variableInWhenSubject.args @@ -2,5 +2,5 @@ $TESTDATA_DIR$/variableInWhenSubject.kt -d $TEMP_DIR$ -language-version -1.3 +1.4 -XXLanguage\:+VariableDeclarationInWhenSubject diff --git a/compiler/testData/cli/jvm/variableInWhenSubject.out b/compiler/testData/cli/jvm/variableInWhenSubject.out index f5e17f06e11..45fabdd0ddc 100644 --- a/compiler/testData/cli/jvm/variableInWhenSubject.out +++ b/compiler/testData/cli/jvm/variableInWhenSubject.out @@ -7,5 +7,5 @@ This mode is not recommended for production use, as no stability/compatibility guarantees are given on compiler or generated code. Use it at your own risk! -warning: language version 1.3 is deprecated and its support will be removed in a future version of Kotlin +warning: language version 1.4 is deprecated and its support will be removed in a future version of Kotlin OK diff --git a/compiler/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java index ba5ef27b262..a8a73446b35 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java @@ -421,16 +421,6 @@ public class CliTestGenerated extends AbstractCliTest { runTest("compiler/testData/cli/jvm/invalidMetadataVersion.args"); } - @TestMetadata("irApiVersionUnsupported.args") - public void testIrApiVersionUnsupported() throws Exception { - runTest("compiler/testData/cli/jvm/irApiVersionUnsupported.args"); - } - - @TestMetadata("irLanguageVersionUnsupported.args") - public void testIrLanguageVersionUnsupported() throws Exception { - runTest("compiler/testData/cli/jvm/irLanguageVersionUnsupported.args"); - } - @TestMetadata("irSupported.args") public void testIrSupported() throws Exception { runTest("compiler/testData/cli/jvm/irSupported.args"); @@ -791,11 +781,6 @@ public class CliTestGenerated extends AbstractCliTest { runTest("compiler/testData/cli/jvm/standaloneSamConversionsAreEnabledWithNewInferenceInternalFlag.args"); } - @TestMetadata("standaloneSamConversionsBaseline_1_3.args") - public void testStandaloneSamConversionsBaseline_1_3() throws Exception { - runTest("compiler/testData/cli/jvm/standaloneSamConversionsBaseline_1_3.args"); - } - @TestMetadata("suppressAllWarningsJvm.args") public void testSuppressAllWarningsJvm() throws Exception { runTest("compiler/testData/cli/jvm/suppressAllWarningsJvm.args"); @@ -861,6 +846,11 @@ public class CliTestGenerated extends AbstractCliTest { runTest("compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.args"); } + @TestMetadata("useDeclarationThatWasExperimentalWithoutMarker2.args") + public void testUseDeclarationThatWasExperimentalWithoutMarker2() throws Exception { + runTest("compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker2.args"); + } + @TestMetadata("useMixedNamedArgumentsFlag.args") public void testUseMixedNamedArgumentsFlag() throws Exception { runTest("compiler/testData/cli/jvm/useMixedNamedArgumentsFlag.args"); @@ -974,16 +964,6 @@ public class CliTestGenerated extends AbstractCliTest { runTest("compiler/testData/cli/js/inlineCycle.args"); } - @TestMetadata("irApiVersionUnsupported.args") - public void testIrApiVersionUnsupported() throws Exception { - runTest("compiler/testData/cli/js/irApiVersionUnsupported.args"); - } - - @TestMetadata("irLanguageVersionUnsupported.args") - public void testIrLanguageVersionUnsupported() throws Exception { - runTest("compiler/testData/cli/js/irLanguageVersionUnsupported.args"); - } - @TestMetadata("jsExtraHelp.args") public void testJsExtraHelp() throws Exception { runTest("compiler/testData/cli/js/jsExtraHelp.args");