blob: 5eff5f33ea5e43df4e9459c1ceb77e0c0ab7d2ae (
plain) (
tree)
|
|
object seqapply_convention { // 2005-02-17 see comment in PatternMatcher::isSeqApply
val x:Seq[Int] = List(1,2,3);
x.match {
case List(1,2,3) => true // type error: type Seq will not work
}
}
|