I think this syntax is possible and would be non-b...
# language-proposals
i
I think this syntax is possible and would be non-breaking:
Copy code
when (str) {
    "foo" -> foo()
    .contains("bar") -> bar()
    .let { "baz" in it } -> baz()
}
👍 4