-
-
Notifications
You must be signed in to change notification settings - Fork 95
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 support #77
Conversation
ee9539b
to
db3f050
Compare
db3f050
to
23bd4ef
Compare
Codecov Report
@@ Coverage Diff @@
## master #77 +/- ##
==========================================
- Coverage 92.51% 91.94% -0.58%
==========================================
Files 7 7
Lines 294 298 +4
Branches 59 63 +4
==========================================
+ Hits 272 274 +2
- Misses 22 24 +2
Continue to review full report at Codecov.
|
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.
I don't like the commented out parts. We might figure out some way or working around pb or drop testing them if that is a blocker for a release.
23bd4ef
to
ed27799
Compare
Finally dropped scalatest, scalapb and bumped versions of few libraries. I think now it's ready to merge. |
As Scala 2.13 is going to be released soon, we need to cross support 2.13 too. I tried to play with latest available milestone (
2.13.0-M4
) and it seems that number of required changes in quite short, most of them caused by new standard library.Deprecation of
Traversable
We may use
Iterable
as well, covering all of the use cases. This doesn't even need special changes to 2.11/2.12 codebase.No support for
collection.to[AnotherCollection]
But
collection.to(AnotherCollection)
works great. We need to generate different code, depending on Scala version to keep the same semantics. But in 2.13 we need to use companion ref hack...Unsupported compiler options
In 2.13.0-M4 it seems following two flags are not understood by scalac:
-Yno-adapted-args
,-Xexperimental
.Dependencies
Before merging, we need to wait for following dependencies:
[ ] scalatest (already published snapshotswitched to utest3.0.6-SNAP2
for2.13.0-M4
)[ ] scalapbnot dependent on scalapb any more[ ] scalatexnot needed for cross compilationsbt-scoverage
to1.6.0-M5
)