Skip to content

Commit 8aea017

Browse files
authored
Merge pull request #193 from Philippus/update/scala-2.13.0-RC1
Update scala 2.13.0-M5 to 2.13.0-RC1
2 parents e7f0373 + 5834e82 commit 8aea017

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jdk:
88
scala:
99
- 2.11.12
1010
- 2.12.8
11-
- 2.13.0-M5
11+
- 2.13.0-RC1
1212

1313
env:
1414
global:
@@ -21,8 +21,8 @@ env:
2121
matrix:
2222
# The empty SCALAJS_VERSION will only compile for the JVM
2323
- SCALAJS_VERSION=
24-
- SCALAJS_VERSION=0.6.26
25-
- SCALAJS_VERSION=1.0.0-M6
24+
- SCALAJS_VERSION=0.6.27
25+
- SCALAJS_VERSION=1.0.0-M7
2626

2727
script: admin/build.sh
2828

build.sbt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import ScalaModulePlugin._
22
import sbtcrossproject.crossProject
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 root = project.in(file("."))
77
.aggregate(`scala-parser-combinatorsJS`, `scala-parser-combinatorsJVM`, `scala-parser-combinatorsNative`)
@@ -14,7 +14,7 @@ lazy val `scala-parser-combinators` = crossProject(JSPlatform, JVMPlatform, Nati
1414
settings(
1515
name := "scala-parser-combinators",
1616
version := "1.1.2-SNAPSHOT",
17-
mimaPreviousVersion := Some("1.1.0").filter(_ => System.getenv("SCALAJS_VERSION") != "1.0.0-M6"),
17+
mimaPreviousVersion := Some("1.1.0").filter(_ => System.getenv("SCALAJS_VERSION") != "1.0.0-M7"),
1818

1919
apiMappings += (scalaInstance.value.libraryJar ->
2020
url(s"https://www.scala-lang.org/api/${scalaVersion.value}/")),

project/plugins.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.0.0")
22

33
val scalaJSVersion =
4-
Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("0.6.26")
4+
Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("0.6.27")
55

66
addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)
77

shared/src/main/scala/scala/util/parsing/input/OffsetPosition.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ case class OffsetPosition(source: CharSequence, offset: Int) extends Position {
8282
}
8383

8484
/** Returns a string representation of the `Position`, of the form `line.column`. */
85-
override def toString = line+"."+column
85+
override def toString = s"$line.$column"
8686

8787
/** Compare this position to another, by first comparing their line numbers,
8888
* and then -- if necessary -- using the columns to break a tie.

0 commit comments

Comments
 (0)