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#1857: Consider tvars in bounds of uninstantiated tvars
Given:
val f: Foo = new Foo
def wrap2a[A, W <: Wrapper[A]](host: A)(implicit w: W): W = ???
wrap2a(f)
We need to instantiate `A` before doing the implicit search for `w`
because it was constrained by the first parameter list. This was not
done before because we did not traverse the constraint bounds of an
uninstantiated type variable.
0 commit comments