3 ms·
I was referring to the Go documentation linked above: > One consequence of the semicolon insertion rules is that you cannot put the opening brace of a control
by layer8 4y ago
I was referring to the Go documentation linked above:
> One consequence of the semicolon insertion rules is that you cannot put the opening brace of a control structure (if, for, switch, or select) on the next line. If you do, a semicolon will be inserted before the brace, which could cause unwanted effects.
I was assuming that the “unwanted effects” are not simply a syntax error.