[K/JS] Remove an internal system property and replace it with the new compiler flag
This commit is contained in:
+1
-2
@@ -1,6 +1,5 @@
|
||||
compiler/testData/integration/ant/js/simpleWithoutStdlibAndFolderAsAnotherLib/jslib-example/LibraryExample.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-meta-info
|
||||
-output
|
||||
$TEMP_DIR$/jslib-example.js
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TEMP_DIR$
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-no-stdlib
|
||||
-output
|
||||
$TESTDATA_DIR$
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
$TESTDATA_DIR$/inlineCycle.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-output
|
||||
$TEMP_DIR$
|
||||
|
||||
+2
-3
@@ -6,6 +6,8 @@ where advanced options include:
|
||||
-Xenable-extension-functions-in-externals
|
||||
Enable extensions functions members in external interfaces
|
||||
-Xfake-override-validator Enable IR fake override validator
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
The flag is used only for our inner infrastructure. It will be removed soon, so it's unsafe to use it nowadays.
|
||||
-Xfriend-modules=<path> Paths to friend modules
|
||||
-Xfriend-modules-disabled Disable internal declaration export
|
||||
-Xgenerate-dts Generate TypeScript declarations .d.ts file alongside JS file. Available in IR backend only.
|
||||
@@ -37,13 +39,10 @@ where advanced options include:
|
||||
-Xir-safe-external-boolean Safe access via Boolean() to Boolean properties in externals to safely cast falsy values.
|
||||
-Xir-safe-external-boolean-diagnostic={log|exception}
|
||||
Enable runtime diagnostics when access safely to boolean in external declarations
|
||||
-Xlegacy-deprecated-no-warn Disable warnings of deprecation of legacy compiler
|
||||
-Xmetadata-only Generate *.meta.js and *.kjsm files only
|
||||
-Xpartial-linkage Allow unlinked symbols
|
||||
-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
|
||||
-Xes-classes Generated JavaScript will use ES2015 classes.
|
||||
-Xwasm Use experimental WebAssembly compiler backend
|
||||
-Xwasm-debug-info Add debug info to WebAssembly compiled module
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
$TESTDATA_DIR$/languageVersion.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
-language-version
|
||||
1.9
|
||||
@@ -1,2 +0,0 @@
|
||||
error: old Kotlin/JS compiler is no longer supported. Please migrate to the new JS IR backend
|
||||
COMPILATION_ERROR
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/simple2js.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-kotlin-home
|
||||
$TESTDATA_DIR$
|
||||
-output
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/../kotlinPackage.kt
|
||||
-no-stdlib
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/languageVersion.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
-language-version
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/withLib.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-libraries
|
||||
not/existing/path
|
||||
-output
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
$TESTDATA_DIR$/separateModules/sepModule1.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-meta-info
|
||||
-Xmetadata-only
|
||||
-output
|
||||
$TEMP_DIR$/m1/m1.js
|
||||
---
|
||||
$TESTDATA_DIR$/separateModules/sepModule2.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-libraries
|
||||
$TEMP_DIR$/m1
|
||||
-output
|
||||
|
||||
+2
-4
@@ -1,13 +1,11 @@
|
||||
$TESTDATA_DIR$/separateModules/sepModule1.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-meta-info
|
||||
-output
|
||||
$TEMP_DIR$/m1/m.js
|
||||
---
|
||||
$TESTDATA_DIR$/separateModules/sepModule2.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-libraries
|
||||
$TEMP_DIR$/m1
|
||||
-output
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
$TESTDATA_DIR$/separateModules/sepModule3.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-meta-info
|
||||
-output
|
||||
$TEMP_DIR$/m3/m.js
|
||||
---
|
||||
$TESTDATA_DIR$/separateModules/sepModule4.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-libraries
|
||||
$TEMP_DIR$/m3
|
||||
-output
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
not/existing/path
|
||||
-no-stdlib
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-output
|
||||
$TESTDATA_DIR$
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/withLib.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-libraries
|
||||
compiler/testData/integration/ant/js/simpleWithJsFileAsAnotherLib
|
||||
-output
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
$TESTDATA_DIR$/simple2js.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-output
|
||||
$TESTDATA_DIR$
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/simple2js.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
-output-postfix
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/simple2js.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
-output-prefix
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
$TESTDATA_DIR$/reifiedIntersectionType.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
$TESTDATA_DIR$/simple2js.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/sourceMap.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-source-map
|
||||
-source-map-prefix
|
||||
./
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/sourceMapCharEscape.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-source-map
|
||||
-source-map-embed-sources
|
||||
always
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/sourceMapDuplicatePath/
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-source-map
|
||||
-source-map-base-dirs
|
||||
$TESTDATA_DIR$/sourceMapDuplicatePath/foo:$TESTDATA_DIR$/sourceMapDuplicatePath/bar
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/sourceMap.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-source-map
|
||||
-source-map-prefix
|
||||
./
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/sourceMap.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-source-map
|
||||
-source-map-prefix
|
||||
/localhost/src/
|
||||
|
||||
+2
-4
@@ -1,14 +1,12 @@
|
||||
$TESTDATA_DIR$/sourceMapRelativeRoot/lib/src/lib.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-source-map
|
||||
-meta-info
|
||||
-output
|
||||
$TESTDATA_DIR$/sourceMapRelativeRoot/lib/out/lib.js
|
||||
---
|
||||
$TESTDATA_DIR$/sourceMapRelativeRoot/main/src/main.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-libraries
|
||||
$TESTDATA_DIR$/sourceMapRelativeRoot/lib/out/
|
||||
-source-map
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
$TESTDATA_DIR$/sourceMapRoot/foo/file1.kt
|
||||
$TESTDATA_DIR$/sourceMapRoot/bar/file2.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-source-map
|
||||
-source-map-prefix
|
||||
./
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
$TESTDATA_DIR$/sourceMapRoot/foo/file1.kt
|
||||
$TESTDATA_DIR$/sourceMapRoot/bar/file2.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-source-map
|
||||
-source-map-base-dirs
|
||||
$TESTDATA_DIR$/
|
||||
|
||||
+1
-2
@@ -2,8 +2,7 @@ $TESTDATA_DIR$/sourceMapRoot/foo/file1.kt
|
||||
$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
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-source-map
|
||||
-source-map-base-dirs
|
||||
$TESTDATA_DIR$/sourceMapRoot/foo
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
$TESTDATA_DIR$/sourceMapRoot/foo/file1.kt
|
||||
$TESTDATA_DIR$/sourceMapRoot/bar/file2.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-source-map
|
||||
-source-map-base-dirs
|
||||
$TESTDATA_DIR$/foo:$TESTDATA_DIR$/bar
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/../warnings.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-nowarn
|
||||
-output
|
||||
$TEMP_DIR$/out.js
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/withLib.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-libraries
|
||||
$TESTDATA_DIR$/folderAsLib
|
||||
-output
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/withLib.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-libraries
|
||||
$TESTDATA_DIR$/lib/LibraryExample.jar
|
||||
-output
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
$TESTDATA_DIR$/simple2js.kt
|
||||
-Xlegacy-deprecated-no-warn
|
||||
-Xuse-deprecated-legacy-compiler
|
||||
-Xforce-deprecated-legacy-compiler-usage
|
||||
-no-stdlib
|
||||
-libraries
|
||||
$TESTDATA_DIR$/wrongAbiVersionLib/wrongAbiLib.meta.js
|
||||
|
||||
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/hello.kt] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/hello.kt" output="${temp}/out.js">
|
||||
<compilerarg value="-Xno-inline"/>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
output="${temp}/out.js"
|
||||
outputPrefix="${test.data}/prefix"
|
||||
outputPostfix="${test.data}/postfix">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1, [TestData]/bar.kt, [TestData]/root2/Foo.kt] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<include name="**/*.kt"/>
|
||||
</fileset>
|
||||
</src>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" outputPostfix="${test.data}/postfix">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" outputPrefix="${test.data}/prefix">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
-8
@@ -2,14 +2,6 @@ OUT:
|
||||
Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[java] warning: ==========
|
||||
[java] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[java]
|
||||
[java] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[java] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[java]
|
||||
[java] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[java] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -6,10 +6,9 @@
|
||||
<pathelement location="${kotlin.lib}/kotlin-stdlib.jar"/>
|
||||
</classpath>
|
||||
<arg value="${test.data}/root1/foo.kt"/>
|
||||
<arg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<arg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
<arg value="-output"/>
|
||||
<arg value="out.js"/>
|
||||
<sysproperty key="kotlin.js.compiler.legacy.force_enabled" value="true"/>
|
||||
<jvmarg value="-noverify"/>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
-16
@@ -4,23 +4,7 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example] => [[Temp]/lib/jslib-example.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[copy] Copying 2 files to [Temp]
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
|
||||
+2
-2
@@ -6,14 +6,14 @@
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path}" output="${temp.library.path}/jslib-example.js" metaInfo="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example.meta.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
Vendored
-16
@@ -4,23 +4,7 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example] => [[Temp]/lib/jslib-example.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[copy] Copying 2 files to [Temp]
|
||||
[copy] Copying 1 file to [Temp]
|
||||
|
||||
|
||||
+2
-2
@@ -6,14 +6,14 @@
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path}" output="${temp.library.path}/jslib-example.js" metaInfo="true" moduleKind="umd">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call" moduleKind="amd">
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example.meta.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
Vendored
-24
@@ -4,36 +4,12 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example1] => [[Temp]/lib/jslib-example1.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example2] => [[Temp]/lib/jslib-example2.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[delete] Deleting: [Temp]/lib/jslib-example1.js
|
||||
[delete] Deleting: [Temp]/lib/jslib-example2.js
|
||||
[delete] Deleting: [Temp]/lib/jslib-example1.meta.js
|
||||
[delete] Deleting: [Temp]/lib/jslib-example2.meta.js
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[copy] Copying 1 file to [Temp]
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
|
||||
+3
-3
@@ -7,13 +7,13 @@
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path1}" output="${temp.library.path}/jslib-example1.js" metaInfo="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
<kotlin2js src="${library.path2}" output="${temp.library.path}/jslib-example2.js" metaInfo="true">
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example1.meta.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
|
||||
<concat destfile="${temp.library.path}/jslib-example.js">
|
||||
@@ -32,7 +32,7 @@
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
-24
@@ -4,32 +4,8 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example1] => [[Temp]/lib/jslib-example1.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example2] => [[Temp]/lib/jslib-example2.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[copy] Copying 4 files to [Temp]
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
|
||||
+3
-3
@@ -7,13 +7,13 @@
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path1}" output="${temp.library.path}/jslib-example1.js" metaInfo="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
<kotlin2js src="${library.path2}" output="${temp.library.path}/jslib-example2.js" metaInfo="true">
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example1.meta.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
@@ -21,7 +21,7 @@
|
||||
<pathelement path="${temp.library.path}/jslib-example1.meta.js"/>
|
||||
<pathelement path="${temp.library.path}/jslib-example2.meta.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" noStdlib="true" output="${temp}/out.js">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
Vendored
-16
@@ -4,23 +4,7 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example] => [[Temp]/lib/jslib-example.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[copy] Copying 2 files to [Temp]
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
|
||||
+2
-2
@@ -6,14 +6,14 @@
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path}" noStdlib="true" output="${temp.library.path}/jslib-example.js" metaInfo="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
|
||||
<kotlin2js src="${test.data}/root1" noStdlib="true" output="${temp}/out.js" main="call">
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
Vendored
-16
@@ -4,23 +4,7 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[mkdir] Created dir: [Temp]/lib
|
||||
[kotlin2js] Compiling [[TestData]/jslib-example] => [[Temp]/lib/jslib-example.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
[copy] Copying 2 files to [Temp]
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
|
||||
+2
-2
@@ -6,14 +6,14 @@
|
||||
<mkdir dir="${temp.library.path}"/>
|
||||
|
||||
<kotlin2js src="${library.path}" noStdlib="true" output="${temp.library.path}/jslib-example.js" metaInfo="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
|
||||
<kotlin2js src="${test.data}/root1" noStdlib="true" output="${temp}/out.js" main="call">
|
||||
<libraries>
|
||||
<pathelement path="${temp.library.path}/jslib-example.meta.js"/>
|
||||
</libraries>
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
<copy todir="${temp}">
|
||||
<fileset dir="${temp.library.path}">
|
||||
|
||||
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" sourcemap="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -3,14 +3,6 @@ Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" nowarn="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -6,14 +6,6 @@ build:
|
||||
[kotlin2js] logging: using Kotlin home directory [KotlinProjectHome]/dist/kotlinc
|
||||
[kotlin2js] logging: exception on loading scripting plugin: java.lang.ClassNotFoundException: org.jetbrains.kotlin.scripting.compiler.plugin.ScriptingCompilerConfigurationComponentRegistrar
|
||||
[kotlin2js] logging: compiling source files: [TestData]/root1/foo.kt
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" verbose="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -4,14 +4,6 @@ Buildfile: [TestData]/build.xml
|
||||
build:
|
||||
[kotlin2js] Compiling [[TestData]/root1] => [[Temp]/out.js]
|
||||
[kotlin2js] info: kotlinc-js [KotlinVersion] (JRE [JREVersion])
|
||||
[kotlin2js] warning: ==========
|
||||
[kotlin2js] This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
[kotlin2js]
|
||||
[kotlin2js] Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
[kotlin2js] Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
[kotlin2js]
|
||||
[kotlin2js] You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
[kotlin2js] ==========
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
Total time: [time]
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
<target name="build">
|
||||
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" printVersion="true">
|
||||
<compilerarg value="-Xuse-deprecated-legacy-compiler"/>
|
||||
<compilerarg value="-Xforce-deprecated-legacy-compiler-usage"/>
|
||||
</kotlin2js>
|
||||
</target>
|
||||
</project>
|
||||
|
||||
@@ -9,11 +9,3 @@ Output:
|
||||
-- JS --
|
||||
Exit code: OK
|
||||
Output:
|
||||
warning: ==========
|
||||
This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
|
||||
Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
|
||||
You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
==========
|
||||
|
||||
@@ -9,11 +9,3 @@ Output:
|
||||
-- JS --
|
||||
Exit code: OK
|
||||
Output:
|
||||
warning: ==========
|
||||
This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
|
||||
Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
|
||||
You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
==========
|
||||
|
||||
@@ -21,14 +21,6 @@ actual class Foo2 actual constructor(actual val y: String)
|
||||
-- JS --
|
||||
Exit code: COMPILATION_ERROR
|
||||
Output:
|
||||
warning: ==========
|
||||
This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
|
||||
Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
|
||||
You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
==========
|
||||
compiler/testData/multiplatform/inlineClasses/js.kt:5:1: error: actual class 'Foo2' has no corresponding expected declaration
|
||||
The following declaration is incompatible because modifiers are different (companion, inner, inline):
|
||||
public final expect inline class Foo2
|
||||
|
||||
@@ -5,11 +5,3 @@ Output:
|
||||
-- JS --
|
||||
Exit code: OK
|
||||
Output:
|
||||
warning: ==========
|
||||
This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
|
||||
Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
|
||||
You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
==========
|
||||
|
||||
@@ -9,11 +9,3 @@ Output:
|
||||
-- JS --
|
||||
Exit code: OK
|
||||
Output:
|
||||
warning: ==========
|
||||
This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
|
||||
Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
|
||||
You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
==========
|
||||
|
||||
@@ -9,11 +9,3 @@ Output:
|
||||
-- JS --
|
||||
Exit code: OK
|
||||
Output:
|
||||
warning: ==========
|
||||
This project currently uses the Kotlin/JS Legacy compiler backend, which has been deprecated and will be removed in a future release.
|
||||
|
||||
Please migrate your project to the new IR-based compiler (https://kotl.in/jsir).
|
||||
Because your build tool will not support the new Kotlin/JS compiler, you will also need to migrate to Gradle.
|
||||
|
||||
You can continue to use the deprecated legacy compiler in the current version of the toolchain by providing the compiler option -Xuse-deprecated-legacy-compiler.
|
||||
==========
|
||||
|
||||
Reference in New Issue
Block a user