Skip to content

Commit a2f5810

Browse files
authored
Merge pull request #284 from ashawley/2.13.0-RC1
Use 2.13.0-RC1 release candidate
2 parents 8c680ba + 242cf9e commit a2f5810

File tree

7 files changed

+12
-20
lines changed

7 files changed

+12
-20
lines changed

Diff for: .travis.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jdk:
1616
scala:
1717
- 2.11.12
1818
- 2.12.8
19-
- 2.13.0-M5
19+
- 2.13.0-RC1
2020

2121
env:
2222
global:
@@ -29,24 +29,24 @@ env:
2929
matrix:
3030
# The empty SCALAJS_VERSION will only compile for the JVM
3131
- SCALAJS_VERSION=
32-
- SCALAJS_VERSION=0.6.26
33-
- SCALAJS_VERSION=1.0.0-M6
32+
- SCALAJS_VERSION=0.6.27
33+
- SCALAJS_VERSION=1.0.0-M7
3434

3535
matrix:
3636
exclude:
3737
- jdk: openjdk11
38-
env: SCALAJS_VERSION=0.6.26
38+
env: SCALAJS_VERSION=0.6.27
3939
- jdk: openjdk11
40-
env: SCALAJS_VERSION=1.0.0-M6
40+
env: SCALAJS_VERSION=1.0.0-M7
4141
- scala: 2.11.12
42-
env: SCALAJS_VERSION=1.0.0-M6
42+
env: SCALAJS_VERSION=1.0.0-M7
4343
- scala: 2.11.12
4444
jdk: oraclejdk8
4545
- scala: 2.11.12
4646
jdk: openjdk11
4747
- scala: 2.12.8
4848
jdk: openjdk6
49-
- scala: 2.13.0-M5
49+
- scala: 2.13.0-RC1
5050
jdk: openjdk6
5151

5252
before_script:

Diff for: build.sbt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sbtcrossproject.{crossProject, CrossType}
22
import ScalaModulePlugin._
33

4-
crossScalaVersions in ThisBuild := List("2.12.8", "2.11.12", "2.13.0-M5")
4+
crossScalaVersions in ThisBuild := List("2.12.8", "2.11.12", "2.13.0-RC1")
55

66
lazy val xml = crossProject(JSPlatform, JVMPlatform)
77
.withoutSuffixFor(JVMPlatform)
@@ -29,7 +29,7 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform)
2929
)
3030
},
3131
mimaPreviousVersion := {
32-
if (System.getenv("SCALAJS_VERSION") == "1.0.0-M6") None // No such release yet
32+
if (System.getenv("SCALAJS_VERSION") == "1.0.0-M7") None // No such release yet
3333
else Some("1.1.1")
3434
},
3535

Diff for: project/plugins.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ else
66
Seq(addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.3"))
77

88
val scalaJSVersion =
9-
Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("0.6.26")
9+
Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("0.6.27")
1010

1111
addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)
1212
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.6.0")

Diff for: shared/src/main/scala-2.11-2.12/scala/xml/ScalaVersionSpecific.scala

-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,3 @@ private[xml] trait ScalaVersionSpecificNodeSeq extends SeqLike[Node, NodeSeq] {
2020
private[xml] trait ScalaVersionSpecificNodeBuffer { self: NodeBuffer =>
2121
override def stringPrefix: String = "NodeBuffer"
2222
}
23-
24-
private[xml] trait ScalaVersionSpecificIterableSerializable[+A] { // extends Iterable[A] {
25-
// protected[this] override def writeReplace(): AnyRef = this
26-
}

Diff for: shared/src/main/scala-2.13/scala/xml/ScalaVersionSpecific.scala

+1-4
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@ private[xml] trait ScalaVersionSpecificNodeSeq
1919
with StrictOptimizedSeqOps[Node, immutable.Seq, NodeSeq] { self: NodeSeq =>
2020
override def fromSpecific(coll: IterableOnce[Node]): NodeSeq = (NodeSeq.newBuilder ++= coll).result()
2121
override def newSpecificBuilder: mutable.Builder[Node, NodeSeq] = NodeSeq.newBuilder
22+
override def empty: NodeSeq = NodeSeq.Empty
2223
}
2324

2425
private[xml] trait ScalaVersionSpecificNodeBuffer { self: NodeBuffer =>
2526
override def className: String = "NodeBuffer"
2627
}
27-
28-
private[xml] trait ScalaVersionSpecificIterableSerializable[+A] extends Iterable[A] {
29-
protected[this] override def writeReplace(): AnyRef = this
30-
}

Diff for: shared/src/main/scala/scala/xml/MetaData.scala

-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ abstract class MetaData
8282
extends AbstractIterable[MetaData]
8383
with Iterable[MetaData]
8484
with Equality
85-
with ScalaVersionSpecificIterableSerializable[MetaData]
8685
with Serializable {
8786

8887
/**

Diff for: shared/src/main/scala/scala/xml/NodeSeq.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ object NodeSeq {
4444
*
4545
* @author Burak Emir
4646
*/
47-
abstract class NodeSeq extends AbstractSeq[Node] with immutable.Seq[Node] with ScalaVersionSpecificNodeSeq with Equality with ScalaVersionSpecificIterableSerializable[Node] with Serializable {
47+
abstract class NodeSeq extends AbstractSeq[Node] with immutable.Seq[Node] with ScalaVersionSpecificNodeSeq with Equality with Serializable {
4848
def theSeq: Seq[Node]
4949
def length = theSeq.length
5050
override def iterator = theSeq.iterator

0 commit comments

Comments
 (0)