aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/i1059.scala
Commit message (Collapse)AuthorAgeFilesLines
* support `xs @ _*` and `_*` in Scala2 modeliu fengyun2016-03-181-0/+10
The standard syntax in Dotty now is `xs : _*`. In Scala2 mode, following code should be valid: list match { case List(_, _, _, _ @ _*) => 0 case List(_, _, _*) => 1 case List(_, _: _*) => 2 case Nil => 3 }