Skip to content

Commit 2c839d4

Browse files
julienrfsjrd
authored andcommitted
Upgrade to Scala 2.13.0-M4.
1 parent f5f9a51 commit 2c839d4

File tree

92 files changed

+6380
-83
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+6380
-83
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def allJavaVersions = otherJavaVersions.clone()
389389
allJavaVersions << mainJavaVersion
390390

391391
def mainScalaVersion = "2.12.5"
392-
def mainScalaVersions = ["2.10.2", "2.11.12", "2.12.5", "2.13.0-M3"]
392+
def mainScalaVersions = ["2.10.2", "2.11.12", "2.12.5", "2.13.0-M3", "2.13.0-M4"]
393393
def otherScalaVersions = [
394394
"2.10.3",
395395
"2.10.4",

ci/checksizes.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ case $FULLVER in
1717
2.13.0-M3)
1818
VER=2.13.0-M3
1919
;;
20+
2.13.0-M4)
21+
VER=2.13.0-M4
22+
;;
2023
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|2.12.4)
2124
echo "Ignoring checksizes for Scala $FULLVER"
2225
exit 0
@@ -60,6 +63,12 @@ case $FULLVER in
6063
REVERSI_PREOPT_GZ_EXPECTEDSIZE=77000
6164
REVERSI_OPT_GZ_EXPECTEDSIZE=33000
6265
;;
66+
2.13.0-M4)
67+
REVERSI_PREOPT_EXPECTEDSIZE=580000
68+
REVERSI_OPT_EXPECTEDSIZE=136000
69+
REVERSI_PREOPT_GZ_EXPECTEDSIZE=77000
70+
REVERSI_OPT_GZ_EXPECTEDSIZE=34000
71+
;;
6372
esac
6473

6574
echo "Checksizes: Scala version: $FULLVER"

ir/src/main/scala/org/scalajs/core/ir/Infos.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ object Infos {
135135
this
136136
}
137137

138-
def addInterfaces(interfaces: TraversableOnce[String]): this.type = {
138+
def addInterfaces(interfaces: Iterable[String]): this.type = {
139139
this.interfaces ++= interfaces
140140
this
141141
}

js-envs/src/main/scala/org/scalajs/jsenv/phantomjs/PhantomJSEnv.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ class PhantomJSEnv(config: PhantomJSEnv.Config)
524524
case '>' => "&gt;"
525525
case '"' => "&quot;"
526526
case '&' => "&amp;"
527-
case c => c :: Nil
527+
case c => c.toString
528528
}
529529

530530
}

no-ir-check-test/src/test/scala/org/scalajs/testsuite/noircheck/DummyParentsTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
\* */
88
package org.scalajs.testsuite.noircheck
99

10+
import java.util.concurrent.ForkJoinWorkerThread
11+
1012
import org.junit.Test
1113

1214
class DummyParentsTest {
1315

1416
@Test def linking_stages_should_provide_dummy_parents_if_required(): Unit = {
1517

16-
import scala.concurrent.forkjoin._
17-
1818
// scala.concurrent.forkjoin.ForkJoinWorkerThread is not defined
1919
class DummyFJWorkerThread extends ForkJoinWorkerThread(null) {
2020
override def onStart(): Unit = { /* something */ }

0 commit comments

Comments
 (0)