hashc
hashc copied to clipboard
Declarations should not be allowed when not inside a body block
The snippet () => (x := 1)
should produce an error, and suggest to instead write () => { x := 1 }
, since the former does not have a scope to add x to.