diff options
| author | Rob Pike <r@golang.org> | 2013-08-19 11:49:59 +1000 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2013-08-19 11:49:59 +1000 |
| commit | d00bd1d1f4a39fb81b34150aca89dcc5e45b727e (patch) | |
| tree | 3c0debff8d5620860ddfca5ec5e11ebe8112fccf /test/interface/explicit.go | |
| parent | bc6bb3efb4f2f75375ab8820ee536f696269c6b4 (diff) | |
| download | go-d00bd1d1f4a39fb81b34150aca89dcc5e45b727e.tar.xz | |
cmd/gc: better error messages for C-style if statements.
Given
if (i == 0)
x++
The old message was
x.go:6: syntax error: unexpected semicolon or newline before {
Now we see
x.go:6: syntax error: missing { after if clause
Fixes #5687
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/12822045
Diffstat (limited to 'test/interface/explicit.go')
0 files changed, 0 insertions, 0 deletions
