Skip to content

Commit 8571c87

Browse files
committed
fixup! Frontend: deprecate language version 2.2
1 parent 9807610 commit 8571c87

6 files changed

Lines changed: 6 additions & 5 deletions

File tree

compiler/testData/cli/js/exportKlibToOlderAbiVersionUnsupportedLanguageVersion.args

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ $TEMP_DIR$
77
-ir-output-name
88
out
99
-language-version
10-
2.2
10+
2.3
1111
-XXLanguage\:+ExportKlibToOlderAbiVersion

compiler/testData/cli/js/exportKlibToOlderAbiVersionUnsupportedLanguageVersion.out

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ This mode is not recommended for production use,
77
as no stability/compatibility guarantees are given on
88
compiler or generated code. Use it at your own risk!
99

10-
error: exporting KLIBs in older ABI format is only supported for the following language versions: 2.4. The current language version is 2.2
10+
error: exporting KLIBs in older ABI format is only supported for the following language versions: 2.4. The current language version is 2.3
1111
warning: following manually enabled features will force generation of pre-release binaries: ExportKlibToOlderAbiVersion
1212
warning: the argument '-Xir-produce-klib-dir' is deprecated since Kotlin 2.4.20. It will be removed in one of the future releases. Use '-nopack' instead to determine if a packed klib file will be produced. Setting this argument to something other than `null` overrides the value from '-nopack'.
13-
warning: language version 2.2 is deprecated and its support will be removed in a future version of Kotlin. Update the version to 2.3.
1413
COMPILATION_ERROR
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
warning: language version 2.2 is deprecated and its support will be removed in a future version of Kotlin. Update the version to 2.3.
12
OK

compiler/testData/compileKotlinAgainstCustomBinaries/usageOfNestedTypeAliasesWhenTheyAreNotStable/output.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
warning: language version 2.2 is deprecated and its support will be removed in a future version of Kotlin. Update the version to 2.3.
12
compiler/testData/compileKotlinAgainstCustomBinaries/usageOfNestedTypeAliasesWhenTheyAreNotStable/source.kt:1:20: error: the feature "nested type aliases" is only available since language version 2.3
23
fun test(nestedTA: C.NestedTA): D {
34
^^^^^^^^^^

native/native.tests/cli-tests/testData/cli/exportKlibToOlderAbiVersionUnsupportedLanguageVersion.args

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ library
44
-o
55
$TEMP_DIR$/exportKlibToOlderAbiVersionUnsupportedLanguageVersion
66
-language-version
7-
2.2
7+
2.3
88
-XXLanguage\:+ExportKlibToOlderAbiVersion

native/native.tests/cli-tests/testData/cli/exportKlibToOlderAbiVersionUnsupportedLanguageVersion.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ This mode is not recommended for production use,
77
as no stability/compatibility guarantees are given on
88
compiler or generated code. Use it at your own risk!
99

10-
error: exporting KLIBs in older ABI format is only supported for the following language versions: 2.4. The current language version is 2.2
10+
error: exporting KLIBs in older ABI format is only supported for the following language versions: 2.4. The current language version is 2.3
1111
warning: following manually enabled features will force generation of pre-release binaries: ExportKlibToOlderAbiVersion
1212
COMPILATION_ERROR

0 commit comments

Comments
 (0)