FIR JS: Add K2 support to K2JsIrCompiler

This commit is contained in:
Ilya Chernikov
2022-08-08 14:16:40 +02:00
parent 4e8fed09b4
commit 7a57e8d903
6 changed files with 353 additions and 120 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
$TESTDATA_DIR$/fir.kt
-Xuse-k2
-output
-ir-output-dir
$TEMP_DIR$
-ir-output-name
fir
+4 -2
View File
@@ -1,2 +1,4 @@
error: k2 does not support JS target right now
COMPILATION_ERROR
warning: ATTENTION!
This build uses experimental K2 compiler:
-Xuse-k2
OK