Skip to content

Commit b560430

Browse files
committed
Update dotty to 0.23.0-RC1
1 parent 69bc2c4 commit b560430

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import: scala/scala-dev:travis/default.yml
55
language: scala
66

77
scala:
8-
- 0.22.0-RC1
8+
- 0.23.0-RC1
99
- 2.11.12
1010
- 2.12.10
1111
- 2.13.1
@@ -18,9 +18,9 @@ env:
1818

1919
matrix:
2020
exclude:
21-
- scala: 0.22.0-RC1
21+
- scala: 0.23.0-RC1
2222
env: ADOPTOPENJDK=8 SCALAJS_VERSION=0.6.32
23-
- scala: 0.22.0-RC1
23+
- scala: 0.23.0-RC1
2424
env: ADOPTOPENJDK=8 SCALAJS_VERSION=1.0.1
2525
include:
2626
- scala: 2.11.12

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ lazy val parserCombinators = crossProject(JVMPlatform, JSPlatform, NativePlatfor
4343
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test
4444
)
4545
.jsSettings(
46-
crossScalaVersions -= "0.22.0-RC1",
46+
crossScalaVersions -= "0.23.0-RC1",
4747
// Scala.js cannot run forked tests
4848
fork in Test := false
4949
)

shared/src/main/scala/scala/util/parsing/combinator/PackratParsers.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ trait PackratParsers extends Parsers {
107107
val q = super.phrase(p)
108108
new PackratParser[T] {
109109
def apply(in: Input) = in match {
110-
case in if in.isInstanceOf[PackratReader[_]] => q(in) // TODO: try to change back to "case in: PackratReader[_]" after https://github.com/lampepfl/dotty/pull/8413
110+
case in: PackratReader[_] => q(in)
111111
case in => q(new PackratReader(in))
112112
}
113113
}

0 commit comments

Comments
 (0)