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
Fix#1857: Allow lower bounds in to influence implicit search
The previous implementation claimed to conform to the spec:
We exclude lower bounds to conform to SLS 7.2:
"The parts of a type T are: [...] if T is an abstract type, the parts of its upper bound"
But in fact we do not need to exclude lower bounds from `namedPartsWith` to do that -
TypeRefs are already lifted to classes, which implements SLS 7.2. Including lower bounds
does affect wildcard types (i1857.scala) and wildcard parameters in implicits (implicit-lower-bound.scala),
but the spec does not exclude either if these.
0 commit comments