Closed as not planned
Description
Compiler version
3.3.1
Minimized example
trait A[N]
type B[N] <: A[N] = N match {
case 0 => A[0]
case _ => A[N]
}
Output
Found: A[(0 : Int)]
Required: A[N]
Expectation
It seems like this should compile. I'm not sure if this is a bug or intended behaviour, but I found no reference to this situation. A real life scenario would have for example a trait A0 extending A[0].