-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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.12.0-RC2 #1415
Scala 2.12.0-RC2 #1415
Conversation
Current coverage is 92.16% (diff: 100%)@@ master #1415 diff @@
==========================================
Files 240 240
Lines 3617 3573 -44
Methods 3555 3510 -45
Messages 0 0
Branches 61 63 +2
==========================================
- Hits 3316 3293 -23
+ Misses 301 280 -21
Partials 0 0
|
The clue is the original kept as a comment... so for sure it was an oversight and should be reverted if possible |
- 2.11.8 | ||
- 2.10.6 | ||
- 2.11.8 | ||
- 2.12.0-RC2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this line as it should be in the matrix
|
||
matrix: | ||
include: | ||
- scala: 2.12.0-RC1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And change this to RC2
For bench, see this sbt/sbt-jmh#89 issue |
https://issues.scala-lang.org/browse/SI-9923 notes that the "Unused import" warning is fixed in paradise_2.12.0-RC2 so we should remove the fix setttings and methods from the build |
for https://issues.scala-lang.org/browse/SI-9931 we should action @SethTisue 's final comment:
|
I'll look at the catalysts PR later today, |
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.5.3") | ||
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.2.11") | ||
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.2.12") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to 0.2.16 and it'll "just work"™, no need to additional release of the plugin for it to work with 2.12
Hi there @travisbrown @BennyHill, In this specific case you just need to upgrade to 0.2.16 and it'll just work. Happy hakking :) |
Thanks @ktoso ! I think what has happened is that I pushed an early PR for 2.12-0-RC1 that had quite a few "hacks" to just get it to compile so that others could see what was what - and I think that was about the same time that you released the new jmh. But I think we are getting there... 😸 |
👍 |
Thanks, @BennyHill! I've added a comment about SI-9931, re-enabled fatal warnings and forking in tests, added bench back, and fixed the Travis CI versions. Now I think we're just waiting on Catalysts. |
Thanks, @ktoso—everything looks fine with 0.2.16! |
Okay, just pushed the catalyst update (thanks, @BennyHill). Once this succeeds I'll rebase the branch to get rid of the merge commits and then I think it'll be ready for any last review and merging. |
13547bc
to
4c6fad8
Compare
Okay, tests are passing and I've just rebased, so this is ready for merging after review. |
LGTM! Thanks so much @travisbrown 👍 |
} | ||
coverageMinimum := 60, | ||
coverageFailOnMinimum := false, | ||
coverageHighlighting := scalaBinaryVersion.value != "2.10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per gitter, I would expect that this is no longer required
I think there is a missing .configure(disableScoverage210Jvm) in laws |
Thanks, @BennyHill—you're right, I misunderstood what was temporary vs. permanent there. I've added back that line and it's passing locally. |
👍 |
Great work! Thanks @travisbrown and @BennyHill! 👍 |
Great, cheers! |
This PR includes @BennyHill's changes from #1382 together with some more recent version updates and two other things:
Either
to explain the difference inflatMap
between 2.12 and the syntax provided by Cats for 2.10 and 2.11. I've also changed thetut
shed that was failing the build (because it no longer failed to compile on 2.12) to an ordinaryscala
shed.In addition to the usual review, here's what I see that still needs to be done:
-SNAPSHOT
here. I've got a PR open for this that I think is ready to go.bench
. Right now it's just not included in the build, so that you have to run something likesbt bench/test
if you want to confirm that it's not broken. We could use sbt-doge, or we could have some stuff in the Travis CI build to run that command on 2.10 and 2.11 only, or we could just leave it and wait for sbt-jmh to be updated for 2.12. Given that we don't publishbench
and that it doesn't have any tests, my vote would be just to wait.fork in test
back totrue
. I'm not sure why it was changed in Add scala 2.12.0-RC1 #1382, but it seems fine to me to change it back. @BennyHill, can you confirm?