Skip to content

Fix various issues in TypeAssigner#avoid #817

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 12, 2015
Merged

Conversation

smarter
Copy link
Member

@smarter smarter commented Oct 2, 2015

This fixes some of the issues with escaping refs, notably #711 and #741.

It does not include fixes for the issues with uninstantiated type parameters since we're not sure what the best solution for that is yet, see #750.

Review by @odersky

@smarter smarter force-pushed the fix/avoid branch 2 times, most recently from 540b8bb to d6dfcc3 Compare October 2, 2015 21:30
@odersky
Copy link
Contributor

odersky commented Oct 7, 2015

Otherwise LGTM

When we need to avoid `A` in the class `A#B`, we can try to replace `A`
by a supertype. Previously, we only tried to replace `A#B` itself by a
supertype.

Fixes scala#711.
smarter added a commit that referenced this pull request Oct 12, 2015
Fix various issues in `TypeAssigner#avoid`
@smarter smarter merged commit 9ede7d0 into scala:master Oct 12, 2015
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