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

Scala 2.13.0-M3 #219

Merged
merged 1 commit into from
Apr 2, 2018
Merged

Scala 2.13.0-M3 #219

merged 1 commit into from
Apr 2, 2018

Conversation

xuwei-k
Copy link
Contributor

@xuwei-k xuwei-k commented Feb 18, 2018

Pull Request Checklist

  • I agree to licence my contributions under the MIT licence
  • I have added copyright headers to new files
  • I have added tests for any changed functionality

Purpose

  • Update build to include 2.13.0-M3
  • Update version of specs2 (except for Scala 2.10 build)

@barkhorn
Copy link
Collaborator

Hi, I've added the MR template back.
Could you have a look at my comments please, and acknowledge the checklist for the MR if you are happy with it?

Copy link
Collaborator

@barkhorn barkhorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to stick with (mockTurtle.penUp _) for consistency, unless there is a technical necessity for the change.

@@ -33,18 +33,18 @@ class ControllerTest extends FunSuite with MockFactory {

inSequence {
inAnyOrder {
(mockTurtle.penUp _) expects ()
(() => mockTurtle.penUp) expects ()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why has this style changed? Is this required by Scala 2.13?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

required by Scala 2.13. old style is compile error

lazy val specs2 = Def.setting {
val v = CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 10)) =>
"3.9.1" // specs2 4.x does not support Scala 2.10
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are 3.9.x and 4.0.x guaranteed to be API compatible?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so

@barkhorn barkhorn added this to the v4.2.0 milestone Feb 19, 2018
@barkhorn barkhorn merged commit 236827a into paulbutcher:master Apr 2, 2018
@xuwei-k xuwei-k deleted the Scala-2.13.0-M3 branch April 2, 2018 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants