fun foo() { var a = 0 when { true -> a = a.inc() else -> a-- } }