Compiler version
3.2.0, 3.2.1-RC2, 3.2.1
Minimized code
type →[-L <: AnyKind, +R <: AnyKind] = [_ <: L] =>> R
type F = Any → Any
Output
-- Error: ----------------------------------------------------------------------
1 |type F = Any → Any
| ^^^^^^^^^
| type → takes type parameters
Expectation
Scala allows this usage, especially in the context of
trait Free[F <: ((Any → Any) → Any), A]
where
trait Free[F <: /* giant mess of equivalent type lambda */, A]
is equivalent and does compile.