Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a2d6d9a

Browse files
Merge pull request #447 from SethTisue/version-bumps-1.x
bump Scala, sbt, Scala.js versions
2 parents c60de43 + 57353cd commit a2d6d9a

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

‎.travis.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ language: scala
66

77
scala:
88
- 2.11.12
9-
- 2.12.10
10-
- 2.13.1
9+
- 2.12.12
10+
- 2.13.3
1111

1212
env:
1313
- SCALAJS_VERSION= ADOPTOPENJDK=8
14-
- SCALAJS_VERSION=0.6.32 ADOPTOPENJDK=8
14+
- SCALAJS_VERSION=0.6.33 ADOPTOPENJDK=8
1515
- SCALAJS_VERSION=1.0.1 ADOPTOPENJDK=8
1616
- SCALAJS_VERSION= ADOPTOPENJDK=11
1717

1818
matrix:
1919
exclude:
2020
- scala: 2.11.12
21-
env: SCALAJS_VERSION=0.6.32 ADOPTOPENJDK=8
21+
env: SCALAJS_VERSION=0.6.33 ADOPTOPENJDK=8
2222
- scala: 2.11.12
2323
env: SCALAJS_VERSION=1.0.1 ADOPTOPENJDK=8
2424

‎jvm/src/test/scala/scala/xml/CompilerErrors.scala‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,20 @@ import org.junit.Test
44

55
class CompilerErrors extends CompilerTesting {
66
@Test
7-
def t7185() =
8-
expectXmlError("""|overloaded method value apply with alternatives:
9-
| (f: scala.xml.Node => Boolean)scala.xml.NodeSeq <and>
10-
| (i: Int)scala.xml.Node
11-
| cannot be applied to ()""".stripMargin,
7+
def t7185() = {
8+
// the error message here differs a bit by Scala version
9+
import util.Properties.versionNumberString
10+
val thing =
11+
if (versionNumberString.startsWith("2.11") || versionNumberString.startsWith("2.12")) "method value"
12+
else "method"
13+
expectXmlError(s"""|overloaded $thing apply with alternatives:
14+
| (f: scala.xml.Node => Boolean)scala.xml.NodeSeq <and>
15+
| (i: Int)scala.xml.Node
16+
| cannot be applied to ()""".stripMargin,
1217
"""|object Test {
1318
| <e></e>()
1419
|}""")
20+
}
1521

1622
@Test
1723
def t1878_typer() =

‎project/build.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.3.8
1+
sbt.version=1.3.13

‎project/plugins.sbt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
val scalaJSVersion =
2-
Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("0.6.32")
2+
Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("0.6.33")
33

44
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.1.3")
55
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.0.0")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /