You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Fixesscala#711.
smarter
added a commit
to smarter/dotty
that referenced
this issue
Oct 2, 2015
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.
Fixesscala#711.
smarter
added a commit
to smarter/dotty
that referenced
this issue
Oct 2, 2015
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.
Fixesscala#711.
The approximation is done in
TypeAssigner#avoid
:Instead of approximating the class
o.Inner
by its parent classObject
, it should approximate it by its supertypeOuter#Inner
.The text was updated successfully, but these errors were encountered: