This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enablePlugins(ScalaJSPlugin) | |
scalaVersion := "2.12.4" | |
scalaJSUseMainModuleInitializer in Test := true | |
scalaJSModuleKind := ModuleKind.CommonJSModule |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inThisBuild(Def.settings( | |
organization := "com.example", | |
scalaVersion := "2.11.12" | |
)) | |
lazy val compplugin = project. | |
settings( | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --cc ci/checksizes.sh | |
index c964864,429b3bd..0000000 | |
--- a/ci/checksizes.sh | |
+++ b/ci/checksizes.sh | |
@@@ -17,7 -17,7 +17,7 @@@ case $FULLVER i | |
2.13.0-M2) | |
VER=2.13.0-M2 | |
;; | |
- 2.10.3|2.10.4|2.10.5|2.10.6|2.11.0|2.11.1|2.11.2|2.11.4|2.11.5|2.11.6|2.11.7|2.11.8|2.12.1|2.12.2) | |
- 2.10.3|2.10.4|2.10.5|2.10.6|2.10.7|2.11.0|2.11.1|2.11.2|2.11.4|2.11.5|2.11.6|2.11.7|2.11.8|2.11.11|2.12.0|2.12.1|2.12.2|2.12.3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ../scalajs-test-suite-test-fastopt.js 2017-11-14 13:16:00.385812067 +0100 | |
+++ test-suite/js/target/scala-2.12/scalajs-test-suite-test-fastopt.js 2017-11-14 15:26:23.517059382 +0100 | |
@@ -4168,22 +4168,25 @@ | |
return passedThis$2 | |
}) | |
})($thiz)); | |
+ var y = (function(arg$outer) { | |
+ return (function() { | |
+ return this | |
+ }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> pineJS/test:compile | |
[info] Updating {file:/C:/Users/Sepi/Documents/Projets/pine/}pineJS... | |
[info] Resolving org.eclipse.jetty#jetty-continuation;8.1.16.v20140903 ... | |
[info] Done updating. | |
[info] Compiling 29 Scala sources to C:\Users\Sepi\Documents\Projets\pine\js\target\scala-2.12\classes... | |
[warn] there was one deprecation warning (since DOM Level 2) | |
[warn] there was one deprecation warning (since HTML 4) | |
[warn] there was one deprecation warning (since HTML 4.01) | |
[warn] there were three deprecation warnings (since HTML 5) | |
[warn] there were 6 deprecation warnings in total; re-run with -deprecation for details |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --cc ir/src/main/scala/org/scalajs/core/ir/ScalaJSVersions.scala | |
index f7c6b68,d9f10f9..0000000 | |
--- a/ir/src/main/scala/org/scalajs/core/ir/ScalaJSVersions.scala | |
+++ b/ir/src/main/scala/org/scalajs/core/ir/ScalaJSVersions.scala | |
diff --cc project/Build.scala | |
index d985a48,1cb00ad..0000000 | |
--- a/project/Build.scala | |
+++ b/project/Build.scala | |
@@@ -2,12 -3,6 +2,9 @@@ import scala.language.implicitConversio | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
master | |
warm, compile | |
[info] [generate JavaScript code from ASTs in 4051ms] | |
4057ms | |
3886ms | |
cold, batch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] * Attributed(/localhome/doeraene/projects/scalajs/tools/jvm/target/scala-2.12/scalajs-tools_2.12-0.6.19-SNAPSHOT.jar) | |
[info] * Attributed(/localhome/doeraene/projects/scalajs/ir/target/scala-2.12/scalajs-ir_2.12-0.6.19-SNAPSHOT.jar) | |
[info] * Attributed(/localhome/doeraene/projects/scalajs/js-envs/target/scala-2.12/classes) | |
[info] * Attributed(/localhome/doeraene/projects/scalajs/test-adapter/target/scala-2.12/classes) | |
[info] * Attributed(/home/doeraene/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.12.2.jar) | |
[info] * Attributed(/home/doeraene/.ivy2/cache/org.scala-js/closure-compiler-java-6/jars/closure-compiler-java-6-v20160517.jar) | |
[info] * Attributed(/home/doeraene/.ivy2/cache/org.scala-js/closure-compiler-externs-java-6/jars/closure-compiler-externs-java-6-v20160517.jar) | |
[info] * Attributed(/home/doeraene/.ivy2/cache/args4j/args4j/bundles/args4j-2.0.26.jar) | |
[info] * Attributed(/home/doeraene/.ivy2/cache/com.google.guava/guava/bundles/guava-19.0.jar) | |
[info] * Attributed(/home/doeraene |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --cc compiler/src/main/scala/org/scalajs/core/compiler/GenJSCode.scala | |
index 08efc4c,502a57b..0000000 | |
--- a/compiler/src/main/scala/org/scalajs/core/compiler/GenJSCode.scala | |
+++ b/compiler/src/main/scala/org/scalajs/core/compiler/GenJSCode.scala | |
@@@ -4302,22 -4265,55 +4291,55 @@@ abstract class GenJSCode extends plugin | |
} | |
} | |
- def genSelectGet(propName: js.Tree): js.Tree = | |
+ def genSelectGet(propName: js.Tree): js.Tree = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --cc ci/matrix.xml | |
index ca9989d,6772179..0000000 | |
--- a/ci/matrix.xml | |
+++ b/ci/matrix.xml | |
@@@ -99,13 -155,16 +99,13 @@@ | |
<task id="test-suite-ecma-script6"><![CDATA[ | |
setJavaVersion $java | |
+ npm install && | |
sbtretry 'set scalaJSOutputMode in $testSuite := org.scalajs.core.tools.linker.backend.OutputMode.ECMAScript6' \ |