-
Notifications
You must be signed in to change notification settings - Fork 394
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
[no-master] Enable Scala 2.13.0 in the tools and all the other artifacts. #3702
Conversation
Discovered by new warnings emitted by the 2.13.0 compiler, yeah!
It is not possible to cross-compile `@deprecatedName`s without warnings between Scala 2.12- and 2.13+, because: * In 2.12, they require symbol literals as arguments * In 2.13, symbol literals are deprecated Since they were deprecated more than two years ago, and are part of an API that is not used much anyway (JS envs), I believe it is fair to drop the source compatibility in this case.
This is the first version that supports Scala 2.13.0 (and also the latest stable version as of this writing).
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.
The last commit message contains a typo: s/unabled/enabled
|
||
// filterInPlace replaces retain | ||
def filterInPlace(p: (K, V) => Boolean): Unit = { | ||
// Believe it or not, this is the implementation of `retain` in 2.12.x: |
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.
Hahahahaha, were you anticipating me complaining :P
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.
Actually I was anticipating myself looking back at this code and being appalled at the inefficiency of it.
...shared/src/main/scala/org/scalajs/core/tools/linker/frontend/optimizer/GenIncOptimizer.scala
Outdated
Show resolved
Hide resolved
b7805c6
to
6eccbef
Compare
6eccbef
to
868b9a8
Compare
…cts. Partest is not yet enabled in this commit, because a dependency of `partest` 2.13.0, namely `testkit`, was not published. See scala/bug#11529 upstream.
868b9a8
to
fd2343e
Compare
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.
LGTM modulo the pending big decimal issue (filing a bug for later investigation is sufficient IMO).
|
||
# Bugs | ||
scala/collection/convert/MapWrapperTest.scala | ||
# Fails for a BigDecimal range with augmented precision (might be an actual bug) |
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.
Do we need to file an issue for this at least?
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.
Filed as #3706.
It's [no-master] because
@deprecatedName
andscopt
commits are irrelevant in master.