legacy-svn-scala/test/files/neg/bug421.scala

9 lines
147 B
Scala

object foo {
case class Bar(a:String, b:AnyRef, c:String*);
Bar("foo","meets","bar") match {
case Bar("foo",_*) => error("huh?");
}
}