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
Present aligned dependent functions as generic functions
Aligning an expected function type to be dependent gives the false expression that
we could have the parameter in a local capture. To avoid that misinterpretation,
convert an aligned dependent function as the expected type back to a generic functions
before displaying it in the error message.
|Required: (ref1: LazyRef[A]^{io}, f1: A => B) =>³ LazyRef[B]^
5
+
|Required: (LazyRef[A]^{io}, A => B) =>³ LazyRef[B]^
6
6
|
7
7
|where: => refers to the universal root capability
8
8
| =>² refers to a root capability associated with the result type of (ref1: LazyRef[box A^?]{val elem: () => A^?}^{io}, f1: A^? => B^?): LazyRef[box B^?]{val elem: () =>² B^?}^{f1, ref1}
0 commit comments