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
Fixscala#10123: Try to fully define qualifier type
Try to fully define qualifier type before emitting an error for
a typed Select.
The one possible objection to doing this is that it might hide other
errors where a type was not sufficiently well defined before we
select on it. On the other hand:
- My comment in issue scala#10123 shows that the problem is more widespread
than just a single case.
- We otherwise rely on interpolation to instantiate type variables in
many cases. But interpolation is meant as an optimization only, to
keep constraint sets smaller. So, we should be prepared that interpolation
will not do its job. The fix in this commit is a way to do so.
0 commit comments