blob: 726fac2a1e6eb2054604a356d6b467d81e7417c1 (
plain) (
blame)
1
2
3
4
5
6
7
|
t5830.scala:6: error: unreachable code
case 'a' => println("b") // unreachable
^
t5830.scala:4: error: could not emit switch for @switch annotated match
def unreachable(ch: Char) = (ch: @switch) match {
^
two errors found
|