]> Cypherpunks repositories - gostls13.git/commit
go spec: restricted expressions may still be parenthesized
authorRobert Griesemer <gri@golang.org>
Mon, 2 May 2011 16:16:31 +0000 (09:16 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 2 May 2011 16:16:31 +0000 (09:16 -0700)
commit6af887ec0303ade5ef5fde72fba5c28f72907685
tree939e81ee8ca0be857dd91f5d40703444358c2717
parenta46a311deccf202e9076f6a53773c37a3c6e195a
go spec: restricted expressions may still be parenthesized

No language change.

- added a few examples with parentheses
- added a corresponding sentence to assignments
  (this explicitly permits: (_) = 0, currently allowed by 6g,
  gofmt, but marked as an error by gccgo).

R=rsc, r, iant
CC=golang-dev
https://golang.org/cl/4446071
doc/go_spec.html