Skip to content

Fix #2397: Upgrade hasMatchingMember #2402

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
merged 2 commits into from
May 9, 2017
Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented May 9, 2017

The previous "self-referential" special case needs to be generalized.
The fix caused some changes elsewhere.

  • t5279 now fails with an overloading ambiguity, which is expected.

  • pattern matching code generation failed in 3 tests, had to be
    upgraded. The errors did not trigger before because instances of
    unapply type parameters were coarser.

@odersky odersky requested a review from smarter May 9, 2017 10:13
@odersky odersky changed the title Fix #2379: Upgrade hasMatchingMember Fix #2397: Upgrade hasMatchingMember May 9, 2017
The previous "self-referential" special case needs to be generalized.
The fix caused some changes elsewhere.

 - `t5279` now fails with an overloading ambiguity, which is expected.

 - pattern matching code generation failed in 3 tests, had to be
   upgraded. The errors did not trigger before because instances of
   unapply type parameters were coarser.
@smarter smarter merged commit 825f8de into scala:master May 9, 2017
@allanrenucci allanrenucci deleted the fix-#2397 branch December 14, 2017 19:18
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