broaden type inference from context (assignment statements)
This commit is contained in:
@@ -253,7 +253,7 @@
|
||||
```
|
||||
|
||||
17. for if statements, allow `if (cond) one-line statement` (instead of forcing either `if (cond) { block }` or `if cond { block }`)
|
||||
- if statements without a bracketed body must enclose the condition in parentheses
|
||||
- if statements without a bracketed body must wrap the condition in parentheses UNLESS it's a function call
|
||||
|
||||
18. add `defer` statement (inspired by zig)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user