Something like 6:15: syntax error: unexpected ), expecting }
What did you see instead?
6:15: syntax error: i := foo() used as value
I found this in real code (one too many closing parentheses), and it took me five minutes of trying to figure out what was wrong before I spotted the cause. The error didn't point me at the cause well at all.