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