Language version 2.0: fix compiler messages and minor details

This commit is contained in:
Mikhail Glukhikh
2023-01-09 11:51:48 +01:00
parent cbedbda527
commit 7a61578e08
12 changed files with 19 additions and 21 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
warning: compiler flag -Xuse-k2 is deprecated, please use -language-version 2.0 instead
warning: compiler flag -Xuse-k2 is deprecated, please use "-language-version 2.0" instead
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
OK
+1 -1
View File
@@ -1,3 +1,3 @@
warning: compiler flag -Xuse-k2 is redundant
warning: compiler flag -Xuse-k2 is redundant, the "-language-version 2.0" is used instead
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
OK
+1 -1
View File
@@ -1,3 +1,3 @@
warning: with -Xuse-k2 compiler flag -language-version 1.5 has no effect, please remove -Xuse-k2 flag or use -language-version 2.0 instead
warning: with -Xuse-k2 compiler flag "-language-version 1.5" has no effect, please remove -Xuse-k2 flag and use "-language-version 2.0" instead
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
OK
+1 -1
View File
@@ -1,3 +1,3 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
error: compilation to metadata is not supported in language version 2.0 right now
error: compilation to metadata is not supported with language version 2.0 right now
COMPILATION_ERROR