Skip to content

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