89bacb9c2 ^
1 2 3 4 5 6 7
object Test extends App { def f(a:Array[Int]) = a match { case Array(1, _*) => "yes" case _ => "no" } assert(f(null) == "no") }