Skip to content

bump Scala, sbt, Scala.js versions #447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ language: scala

scala:
- 2.11.12
- 2.12.10
- 2.13.1
- 2.12.12
- 2.13.3

env:
- SCALAJS_VERSION= ADOPTOPENJDK=8
- SCALAJS_VERSION=0.6.32 ADOPTOPENJDK=8
- SCALAJS_VERSION=0.6.33 ADOPTOPENJDK=8
- SCALAJS_VERSION=1.0.1 ADOPTOPENJDK=8
- SCALAJS_VERSION= ADOPTOPENJDK=11

matrix:
exclude:
- scala: 2.11.12
env: SCALAJS_VERSION=0.6.32 ADOPTOPENJDK=8
env: SCALAJS_VERSION=0.6.33 ADOPTOPENJDK=8
- scala: 2.11.12
env: SCALAJS_VERSION=1.0.1 ADOPTOPENJDK=8

Expand Down
16 changes: 11 additions & 5 deletions jvm/src/test/scala/scala/xml/CompilerErrors.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ import org.junit.Test

class CompilerErrors extends CompilerTesting {
@Test
def t7185() =
expectXmlError("""|overloaded method value apply with alternatives:
| (f: scala.xml.Node => Boolean)scala.xml.NodeSeq <and>
| (i: Int)scala.xml.Node
| cannot be applied to ()""".stripMargin,
def t7185() = {
// the error message here differs a bit by Scala version
import util.Properties.versionNumberString
val thing =
if (versionNumberString.startsWith("2.11") || versionNumberString.startsWith("2.12")) "method value"
else "method"
expectXmlError(s"""|overloaded $thing apply with alternatives:
| (f: scala.xml.Node => Boolean)scala.xml.NodeSeq <and>
| (i: Int)scala.xml.Node
| cannot be applied to ()""".stripMargin,
"""|object Test {
| <e></e>()
|}""")
}

@Test
def t1878_typer() =
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.3.8
sbt.version=1.3.13
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
val scalaJSVersion =
Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("0.6.32")
Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("0.6.33")

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