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
[error] 25| col.n.min(o)
[error] |^
[error] |Found: (o : Ordering[T])
[error] |Required:Ordering[B]
[error] |
[error] |where: B is a typevariable which is an alias of Any
[error] one error found
[error] 25| col.n.min[T](o)
[error] |^^^^^^^^^^^^^^^
[error] |Found:Any
[error] |Required:T
[error] one error found
Expectation
I expected min to compile without explicitly setting the DSeq type parameter. The same should be true of all other versions, but I have to use either F[_]<:data.DSeq[T] or even F[X]<:data.DSeq[X]. Maybe I am expecting to much from the inference system?
The text was updated successfully, but these errors were encountered:
Minimized code
Output
I get in:
the error:
Even when I use:
I still get:
Expectation
I expected
min
to compile without explicitly setting theDSeq
type parameter. The same should be true of all other versions, but I have to use eitherF[_]<:data.DSeq[T]
or evenF[X]<:data.DSeq[X]
. Maybe I am expecting to much from the inference system?The text was updated successfully, but these errors were encountered: