Kenneth
03/22/2021, 1:42 PMMykola Gurov
03/22/2021, 1:49 PMval operation: (InputValue)->Unit = {}
Tobias Berger
03/22/2021, 2:13 PMwhen (a) {
1 -> doSomething()
2 -> { /* do nothing */ }
3 -> throw MyException()
}
Ruckus
03/22/2021, 3:09 PMwhen (a) {
1 -> doSomething()
2 -> {} // Do nothing
3 -> throw MyException()
}
ephemient
03/22/2021, 4:49 PMUnit
, more than {}, but it works the same