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

Future-proof the collections for Dotty #7747

Merged
merged 3 commits into from Feb 17, 2019

Conversation

smarter
Copy link
Member

@smarter smarter commented Feb 13, 2019

Just like what we did for concat in
#7696, we add a dummy parameter list
to avoid signature clashes between mixin forwarders, but this change
should be less controversial since it only affects a deprecated method.

Note that this isn't actually needed to compile with Dotty master yet
because we only emit mixin forwarders when required to, but we will soon
switch to emitting them all the time like scalac
does (scala/scala3#2563), therefore we need
to get the fix in first (and most importantly in time for 2.13.0-RC1).

@smarter smarter added the library:collections PRs involving changes to the standard collection library label Feb 13, 2019
@smarter smarter added this to the 2.13.0-RC1 milestone Feb 13, 2019
Just like what we did for concat in
scala#7696, we add a dummy parameter list
to avoid signature clashes between mixin forwarders, but this change
should be less controversial since it only affects a deprecated method.

Note that this isn't actually needed to compile with Dotty master yet
because we only emit mixin forwarders when required to, but we will soon
switch to emitting them all the time like scalac
does (scala/scala3#2563), therefore we need
to get the fix in first (and most importantly in time for 2.13).
This does not appear to serve any purpose and it confuses Dotty.
@smarter smarter merged commit 1e92ee1 into scala:2.13.x Feb 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
library:collections PRs involving changes to the standard collection library
Projects
None yet
2 participants