Closed
Description
Minimized code
type WatchHandler[T] = Function2[/* val */ T, /* oldVal */ T, scala.Unit]
val handlers: Seq[WatchHandler[_]] = Nil
Output
unreducible application of higher-kinded type [T] =>> (T, T) => Unit to wildcard arguments
Expectation
In Scala 2 this compiles. I tried replacing with ?
instead, but got the same error.