blob: f1a977f26bbc6c978e6889816bb1462f10a988f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
object CompilerCrash {
def main(args: Array[String]): Unit = {
args match {
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
case Array("b") => { } // The code compiles fine if this line is commented out
case Array("c", c) => {
0 // The code compiles fine if this line is commented out
}
}
}
}
|