]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: print x++ (not x += 1) in errors about x++
authorRuss Cox <rsc@golang.org>
Thu, 25 Sep 2014 17:13:02 +0000 (13:13 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 25 Sep 2014 17:13:02 +0000 (13:13 -0400)
commit52e9bcafe1b5bdae3354ddf82879751dfe6eb25b
tree9588128485f36c1df38176c2ee8d9699fe228768
parent53c66543e022b1a96a599fee0819f6b16e92bead
cmd/gc: print x++ (not x += 1) in errors about x++

Fixes #8311.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews, r
https://golang.org/cl/146270043
src/cmd/gc/fmt.c
src/cmd/gc/go.y
src/cmd/gc/typecheck.c
src/cmd/gc/y.tab.c
test/fixedbugs/issue8311.go [new file with mode: 0644]