Ok, without checking, what do you think happens? (List(0): Seq[Int]) match { case _: List[Int] => 1 case _ => 2 }
-
-
This Tweet is unavailable.
-
It does what I would expect it to... a List[Int] is a Seq[Int].
End of conversation
-
-
-
It’s “the compiler should do something legible” versus “the compiler should admit as much valid code as possible”, no? My gut reaction is to call this undesirable (though not a bug).
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.