CLI K2: report an error for JS/Native/Metadata #KT-52035 Fixed

This commit is contained in:
Mikhail Glukhikh
2022-04-25 15:47:11 +03:00
committed by Space
parent 17b5e46547
commit 08ba89b4ec
11 changed files with 44 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
$TESTDATA_DIR$/fir.kt
-Xuse-fir
-output
$TEMP_DIR$
+3
View File
@@ -0,0 +1,3 @@
package test
class Some
+2
View File
@@ -0,0 +1,2 @@
error: k2 does not support JS target right now
COMPILATION_ERROR
+4
View File
@@ -0,0 +1,4 @@
$TESTDATA_DIR$/fir.kt
-Xuse-fir
-d
$TEMP_DIR$
+3
View File
@@ -0,0 +1,3 @@
package test
expect class Some
+2
View File
@@ -0,0 +1,2 @@
error: k2 does not support compilation to metadata right now
COMPILATION_ERROR