blob: 99138706b8004e6dd41bb3bec2a7543f4fb4b228 (
plain) (
tree)
|
|
object Test extends dotty.runtime.LegacyApp {
Vector(1,2,3) match {
case head +: tail => println("It worked! head=" + head)
}
Vector(1,2,3) match {
case init :+ last => println("It worked! last=" + last)
}
}
|