Skip to content
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

Update to Scala 3.0.0-RC2 #334

Merged
merged 1 commit into from
Mar 29, 2021
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
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def previousVersion = "0.7.0"
def scala213 = "2.13.4"
def scala212 = "2.12.13"
def scala211 = "2.11.12"
def scala3Stable = "3.0.0-RC1"
def scala3Previous = List("3.0.0-M3")
def scala3Stable = "3.0.0-RC2"
def scala3Previous = List("3.0.0-RC1")
def junitVersion = "4.13.2"
def gcp = "com.google.cloud" % "google-cloud-storage" % "1.113.13"
inThisBuild(
Expand Down
20 changes: 7 additions & 13 deletions tests/shared/src/test/scala/munit/TypeCheckSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,7 @@ class TypeCheckSuite extends FunSuite {
|msg.foobar
| ^
|""".stripMargin,
"3.0.0-M3" ->
"""|error:
|value foobar is not a member of String, but could be made available as an extension method.
|
|The following import might fix the problem:
|
| import munit.Clue.generate
|
|msg.foobar
| ^
|""".stripMargin,
"3.0.0-RC1" ->
"3" ->
"""|error:
|value foobar is not a member of String, but could be made available as an extension method.
|
Expand Down Expand Up @@ -76,7 +65,7 @@ class TypeCheckSuite extends FunSuite {
|package munit
| ^
|""".stripMargin,
"3" ->
"3.0.0-RC1" ->
// NOTE(olafur): I'm not sure what's going on with the second errors but
// that's what Dotty reports.
"""|error: an identifier expected, but '=' found
Expand All @@ -85,6 +74,11 @@ class TypeCheckSuite extends FunSuite {
|error: Declaration of value x not allowed here: only classes can have declared but undefined members
|package munit
| ^
|""".stripMargin,
"3.0.0-RC2" ->
"""|error: an identifier expected, but '=' found
|val x: = 2
| ^
|""".stripMargin
)
)
Expand Down