On Thu, Oct 31, 2019 at 5:06 PM <mr.sanc...@gmail.com> wrote: > > I suppose the change I'm going for is a semicolon won't be inserted if the > next line starts with an operator. > > That seems to make pretty strait forward sense as no line will start with an > operator in the first place.
The rule can't be that simple. It's valid Go to have a line that starts with a unary operator: func SetToZero(p *byte) { *p = 0 } Ian -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcUv27X%2B1Ue%3DFMC1_-qXQ_kZoO3vhnBUWzdAg_8GW-FtNA%40mail.gmail.com.