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
Reimplement TypeErasure#erasedLub with the documented algorithm
This is removing a disparity between lubs obtained before and after erasure.
Consider this example:
```
if b ast.Trees.Match(???)
else ast.Trees.Literal(???)
```
Before erasure this would be an or type that's later widen to
`ast.Trees.TermTree`. Because of `erasedLub` bias for classes, recomputing
this lub after erasure lead to `ast.Trees.Tree` instead.
This disparity prevents a local optimisation from being Ycheckable.
0 commit comments