There are two semicolon rules in Go spec: 
https://golang.org/ref/spec#Semicolons
The first one states how a semicolon will be automatically inserted,
however, the second one states how a semicolon can be omitted.
Isn't more consistent to modify the second one to the following description?

To allow complex statements to occupy a single line, a semicolon may be 
inserted before a closing ")" or "}". 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to