Closed
Description
Compiler version
3.0.0-RC2
Minimized code
The below examples work with optional braces, but are undocumented, which caused us to skip it while implementing the parser:
for{ a <- 0 to 11 }
println(a)
println(a)
for( a <- 0 to 11 )
println(a)
println(a)
while( a < 10)
a += 1
println(a)
Are we missing anything?
Expectation
We should have optional braces properly documented, otherwise it's hard to build tooling around it, but also it might cause suprises to the users.