/test/files/run/bug3530.scala
Scala | 9 lines | 9 code | 0 blank | 0 comment | 0 complexity | c9edc8c01b95ac96c11e58672021bf93 MD5 | raw file
- object Test {
- def main(args: Array[String]) {
- val list = List(1,2,3)
- list match {
- case List(_, _) => println("List with two elements")
- case List(_*) => println("Some List")
- }
- }
- }