1 2 3 4 5 6 7
object Test extends Application{ val x = (1 : Byte) match { case 2 => println(2); case 1 => println(1); case _ => println("????"); } }