Skip to content

Fix #827 #846

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 4 commits into from
Oct 22, 2015
Merged

Fix #827 #846

merged 4 commits into from
Oct 22, 2015

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Oct 22, 2015

Fixes two instances where we got infinite recursion in member searches. Review by @smarter

Instead of picking one at random, throw a MergeError
which might be caught later in mergeDenot. MergeDenot
has enough info to pick a simulate Scala2 linarization
if the prefix comes from Scala2, or it rethrows the
exception so that it becomes a type error.
Now, we always throw a merge error. No more exceptions.
@smarter
Copy link
Member

smarter commented Oct 22, 2015

LGTM.

odersky added a commit that referenced this pull request Oct 22, 2015
@odersky odersky merged commit 56f9ab8 into scala:master Oct 22, 2015
@allanrenucci allanrenucci deleted the fix-#827 branch December 14, 2017 19:19
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.

3 participants