This commit is contained in:
@ -1,6 +1,2 @@
|
||||
## the left brace opens a list explicitly and doesn't auto-forge a container list.
|
||||
## so the semicolon after it is a redundant one. `do {};` would work because the semicolon
|
||||
## terminates the auto-forged list of `do` and `{}`.
|
||||
{
|
||||
printf "hello, world\n";
|
||||
}; ##ERROR: syntax error - unexpected semicolon
|
||||
## you can't have another colon before the method..
|
||||
(obj: :method) ##ERROR: syntax error - : disallowed
|
||||
|
Reference in New Issue
Block a user