fun a() { when (1) { is 1 -> 2 } } /* fun a() { when (1) { is 1 -> { val i = 2 } } } */