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
Dotty sees a difference between Option and [A] => Option[A], I think there shoudn't be:
traitFunctor[F[_]]
objectFunctor {
vala:Functor[Option] =???valb:Functor[[A] =>Option[A]] = a
// Same result with scalac style type lambda:// val c: Functor[({ type l[A] = Option[A] })#l] = a
}
23|valb:Functor[[A] =>Option[A]] = a
|^|found: Functor[Option](Functor''.a)
|required: Functor[Option]
||where: Functor is a trait|Functor'' is a object
one error found
The text was updated successfully, but these errors were encountered:
Dotty sees a difference between
Option
and[A] => Option[A]
, I think there shoudn't be:The text was updated successfully, but these errors were encountered: