PageRenderTime 45ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/test/files/run/bug3530.scala

https://github.com/scala-incubator/specialized-numeric
Scala | 9 lines | 9 code | 0 blank | 0 comment | 0 complexity | c9edc8c01b95ac96c11e58672021bf93 MD5 | raw file
  1. object Test {
  2. def main(args: Array[String]) {
  3. val list = List(1,2,3)
  4. list match {
  5. case List(_, _) => println("List with two elements")
  6. case List(_*) => println("Some List")
  7. }
  8. }
  9. }