2022-04-07 18:43:21 +02:00

7 lines
99 B
Scala

object IfMatch {
if (true) { 1 } else { 2 } match {
case 1 => true
case 2 => false
}
}