[K/JS] Deprecate old JS-compiler

This commit is contained in:
Artem Kobzar
2022-11-23 11:22:29 +00:00
committed by Space Team
parent e42385dfb0
commit c1c5933c72
6 changed files with 35 additions and 6 deletions
+7
View File
@@ -0,0 +1,7 @@
$TESTDATA_DIR$/languageVersion.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-output
$TEMP_DIR$/out.js
-language-version
1.9
+3
View File
@@ -0,0 +1,3 @@
warning: language version 1.9 is experimental, there are no backwards compatibility guarantees for new language and library features
error: old Kotlin/JS compiler is no longer supported. Please migrate to the new JS IR backend
COMPILATION_ERROR