You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http://play.golang.org/p/EHR4f5RduP
---
package main
func main() {
var i int
if (i == 0)
i++ // <-- error on this line
}
---
prog.go:6: syntax error: unexpected semicolon or newline before {
---
I understand where the error message is coming from, but it's unhelpful and baffling for
Go newcomers. Let's get it fixed for the next release.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: