Allow empty blocks.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{} // By itself.
|
||||
|
||||
// In a statement.
|
||||
if (true) {}
|
||||
if (false) {} else {}
|
||||
|
||||
IO.write("ok") // expect: ok
|
||||
Reference in New Issue
Block a user