Misc fixes
This commit is contained in:
parent
9bebbe079b
commit
a5fdbc898e
9 changed files with 62 additions and 29 deletions
|
|
@ -18,7 +18,7 @@ block outer:
|
|||
|
||||
let b = 3
|
||||
block:
|
||||
let b = "3" # Probably a dumb idea
|
||||
let b = "3" # shadowing is probably a dumb idea
|
||||
```
|
||||
|
||||
Parentheses can be used as an expression, but they do not provide end of statement inference, so it is necessary to place semicolons yourself. An interesting and unexpected side effect of this syntax is that Nimrod is suitable even for brace purists!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue