Skip to content

Remove inline from unapply in Tuple cons #8125

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

Merged

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

@nicolasstucki nicolasstucki self-assigned this Jan 29, 2020
Inline unapply did not inline the call to unapply, it only used its body to refine the type and then kept the unapply.
It was a special case for tuples *: unapply to work, but typing the unapply explicitly gives the same result.
@nicolasstucki nicolasstucki force-pushed the try-remove-inline-unapply-from-tuple-cons branch from b0e72be to 7935ffc Compare January 29, 2020 16:53
@nicolasstucki nicolasstucki marked this pull request as ready for review January 29, 2020 19:01
@nicolasstucki nicolasstucki requested a review from odersky January 29, 2020 19:01
@odersky odersky merged commit 704d329 into scala:master Jan 30, 2020
@odersky odersky deleted the try-remove-inline-unapply-from-tuple-cons branch January 30, 2020 10:14
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