874d2a95b2ae791019dd5e1ce81ab1b94bbd4588 | a3799c585a78ca8ba9bc0c28c76e76842098cf15 | ||
---|---|---|---|
1 | object CompilerCrash { | ||
2 | def main(args: Array[String]) { | ||
3 | args match { | ||
4 | case Array("a", a @ _*) => { } // The code compiles fine if this line is commented out or "@ _*" is deleted or this line is swapped for the next line | ||
5 | case Array("b") => { } // The code compiles fine if this line is commented out | ||
6 | case Array("c", c) => { | ||
7 | 0 // The code compiles fine if this line is commented out | ||
8 | } | ||
9 | } | ||
10 | } | ||
11 | } |