summaryrefslogblamecommitdiff
path: root/test/files/pos/bug2187.scala
blob: 003b8c1436466000cf5242d6540bf9b34dd5bdfc (plain) (tree)
1
2
3
4
5
6
7





                                       
 
// bug #2187
object Test extends Application {
  def foo(xs:List[String]) = xs match {
    case Seq(x) => x
    case Seq(x,y) => ""
  }
}