fun foo() { val a = "aa" when (a.capitalize()) { -> { } else -> { } } }