Change policy with legacy compiler backend

[JS] Remove incremental js jps test

[JS] Remove test of maven js archetype

[JS] Fix another one test

[JS] Fix tests for jps

[JS] Try to fix maven test data

[JS] Fix test data

[JS] Fix test data for ant

[JS] Fix jsExtraHelp test

[JS] Fix test run from not-Gradle build tools

[JS] Set flag without compiler error

[JS] Disable warnings and errors in legacy compiler called from Gradle

[JS] Proofread messages

[JS] Not proofread messages

KT-42326
This commit is contained in:
Ilya Goncharov
2022-09-29 13:56:30 +00:00
committed by Space Team
parent a3ad0a6e88
commit c726360ad2
113 changed files with 498 additions and 745 deletions
+1
View File
@@ -1,5 +1,6 @@
compiler/testData/integration/ant/js/simpleWithoutStdlibAndFolderAsAnotherLib/jslib-example/LibraryExample.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-meta-info
-output
$TEMP_DIR$/jslib-example.js
+1
View File
@@ -1,5 +1,6 @@
$TEMP_DIR$
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-no-stdlib
-output
$TESTDATA_DIR$
+1
View File
@@ -1,4 +1,5 @@
$TESTDATA_DIR$/inlineCycle.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-output
$TEMP_DIR$
+2
View File
@@ -44,6 +44,8 @@ where advanced options include:
-Xrepositories=<path> Paths to additional places where libraries could be found
-Xstrict-implicit-export-types Generate strict types for implicitly exported entities inside d.ts files. Available in IR backend only.
-Xtyped-arrays Translate primitive arrays to JS typed arrays
-Xuse-deprecated-legacy-compiler
Use deprecated legacy compiler without error
-Xwasm Use experimental WebAssembly compiler backend
-Xwasm-debug-info Add debug info to WebAssembly compiled module
-Xwasm-enable-array-range-checks
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/simple2js.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-kotlin-home
$TESTDATA_DIR$
-output
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/../kotlinPackage.kt
-no-stdlib
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-output
$TEMP_DIR$/out.js
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/languageVersion.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-output
$TEMP_DIR$/out.js
-language-version
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/withLib.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-libraries
not/existing/path
-output
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/separateModules/sepModule1.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-meta-info
-Xmetadata-only
-output
@@ -7,6 +8,7 @@ $TEMP_DIR$/m1/m1.js
---
$TESTDATA_DIR$/separateModules/sepModule2.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-libraries
$TEMP_DIR$/m1
-output
+2
View File
@@ -1,11 +1,13 @@
$TESTDATA_DIR$/separateModules/sepModule1.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-meta-info
-output
$TEMP_DIR$/m1/m.js
---
$TESTDATA_DIR$/separateModules/sepModule2.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-libraries
$TEMP_DIR$/m1
-output
@@ -1,11 +1,13 @@
$TESTDATA_DIR$/separateModules/sepModule3.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-meta-info
-output
$TEMP_DIR$/m3/m.js
---
$TESTDATA_DIR$/separateModules/sepModule4.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-libraries
$TEMP_DIR$/m3
-output
+1
View File
@@ -1,5 +1,6 @@
not/existing/path
-no-stdlib
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-output
$TESTDATA_DIR$
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/withLib.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-libraries
compiler/testData/integration/ant/js/simpleWithJsFileAsAnotherLib
-output
+1
View File
@@ -1,4 +1,5 @@
$TESTDATA_DIR$/simple2js.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-output
$TESTDATA_DIR$
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/simple2js.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-output
$TEMP_DIR$/out.js
-output-postfix
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/simple2js.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-output
$TEMP_DIR$/out.js
-output-prefix
+1
View File
@@ -1,4 +1,5 @@
$TESTDATA_DIR$/reifiedIntersectionType.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-output
$TEMP_DIR$/out.js
+1
View File
@@ -1,4 +1,5 @@
$TESTDATA_DIR$/simple2js.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-output
$TEMP_DIR$/out.js
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/sourceMap.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-source-map
-source-map-prefix
./
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/sourceMapCharEscape.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-source-map
-source-map-embed-sources
always
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/sourceMapDuplicatePath/
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-source-map
-source-map-base-dirs
$TESTDATA_DIR$/sourceMapDuplicatePath/foo:$TESTDATA_DIR$/sourceMapDuplicatePath/bar
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/sourceMap.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-source-map
-source-map-prefix
./
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/sourceMap.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-source-map
-source-map-prefix
/localhost/src/
+2
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/sourceMapRelativeRoot/lib/src/lib.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-source-map
-meta-info
-output
@@ -7,6 +8,7 @@ $TESTDATA_DIR$/sourceMapRelativeRoot/lib/out/lib.js
---
$TESTDATA_DIR$/sourceMapRelativeRoot/main/src/main.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-libraries
$TESTDATA_DIR$/sourceMapRelativeRoot/lib/out/
-source-map
+1
View File
@@ -1,6 +1,7 @@
$TESTDATA_DIR$/sourceMapRoot/foo/file1.kt
$TESTDATA_DIR$/sourceMapRoot/bar/file2.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-source-map
-source-map-prefix
./
+1
View File
@@ -1,6 +1,7 @@
$TESTDATA_DIR$/sourceMapRoot/foo/file1.kt
$TESTDATA_DIR$/sourceMapRoot/bar/file2.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-source-map
-source-map-base-dirs
$TESTDATA_DIR$/
+1
View File
@@ -3,6 +3,7 @@ $TESTDATA_DIR$/sourceMapRoot/bar/file2.kt
$TESTDATA_DIR$/sourceMapRoot/bar/baz/file3.kt
$TESTDATA_DIR$/sourceMapRoot/foo/baz/file4.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-source-map
-source-map-base-dirs
$TESTDATA_DIR$/sourceMapRoot/foo
+1
View File
@@ -1,6 +1,7 @@
$TESTDATA_DIR$/sourceMapRoot/foo/file1.kt
$TESTDATA_DIR$/sourceMapRoot/bar/file2.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-source-map
-source-map-base-dirs
$TESTDATA_DIR$/foo:$TESTDATA_DIR$/bar
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/../warnings.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-nowarn
-output
$TEMP_DIR$/out.js
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/withLib.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-libraries
$TESTDATA_DIR$/folderAsLib
-output
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/withLib.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-libraries
$TESTDATA_DIR$/lib/LibraryExample.jar
-output
+1
View File
@@ -1,5 +1,6 @@
$TESTDATA_DIR$/simple2js.kt
-Xlegacy-deprecated-no-warn
-Xuse-deprecated-legacy-compiler
-no-stdlib
-libraries
$TESTDATA_DIR$/wrongAbiVersionLib/wrongAbiLib.meta.js