fun foo(x: String) { val y = x.when }