blob: f1a977f26bbc6c978e6889816bb1462f10a988f2 (
plain) (
tree)
|
|
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
}
}
}
}
|