]> Cypherpunks repositories - gostls13.git/commit
spec: pointer comparison for pointers to 0-sized variables
authorRobert Griesemer <gri@golang.org>
Tue, 10 Jan 2012 00:54:24 +0000 (16:54 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 10 Jan 2012 00:54:24 +0000 (16:54 -0800)
commit1320ce00c44eef3b477f40a409f654ac145cfac5
treeafe6be5ac47228235e211ab077d579c465e7dece
parent024952fb8a75ca12e30cda9d9b52fb9ad653b6c4
spec: pointer comparison for pointers to 0-sized variables

- define "0-sized"
- add clarifying sentence to pointer comparison
- removed notion "location" which was used only in pointer comparisons
  and which was never defined

Fixes #2620.

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