<@U092308M7> sure, any use of `yield` as an identi...
# eap
d
@orangy sure, any use of
yield
as an identifier for a non-function
Copy code
fun main(args: Array<String>) {
  val yield = "hello world"
  println(yield)
}
e
damian: This is by design. It is reserved so that we can introduce "yield xxx" in the future (as a statement) if we need to.
(the message is broken, though)
o
I agree, it looks really weird.
d
Shame. I was crossing my fingers for that to be dropped in 1.1. Thanks for clarification 👍 Question though: wouldn't introducing
yield
as a keyword break just as much even if it's restricted to only function names?