[FIR] KT-58065: Support LT in K2JsIrCompiler

This commit is contained in:
Nikolay Lunyak
2023-05-02 12:59:29 +03:00
committed by Space Team
parent bbb36ce501
commit d72a50b3f5
16 changed files with 228 additions and 108 deletions
+3
View File
@@ -0,0 +1,3 @@
fun MutableList<String>.test() {
this += "Alpha"
}
+10
View File
@@ -0,0 +1,10 @@
$TESTDATA_DIR$/firLightTree.kt
-language-version
2.0
-Xuse-fir-lt=true
-ir-output-dir
$TEMP_DIR$
-ir-output-name
fir
-libraries
libraries/stdlib/js-ir/build/classes/kotlin/js/main
+2
View File
@@ -0,0 +1,2 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
OK