Introduce language version 2.0 and associate K2 compiler with it

This commit is contained in:
Mikhail Glukhikh
2022-11-28 18:20:10 +01:00
parent afe1150aec
commit 3dc05f4ec5
84 changed files with 233 additions and 151 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
$TESTDATA_DIR$/fir.kt
-Xuse-k2
-language-version
2.0
-d
$TEMP_DIR$
+2 -1
View File
@@ -1,2 +1,3 @@
error: k2 does not support compilation to metadata right now
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
COMPILATION_ERROR