]> Cypherpunks repositories - gostls13.git/commit
spec: describe representation of values
authorRobert Griesemer <gri@golang.org>
Thu, 12 Dec 2024 23:26:54 +0000 (15:26 -0800)
committerGopher Robot <gobot@golang.org>
Mon, 30 Dec 2024 20:50:25 +0000 (12:50 -0800)
commit0d8aa8cce69f97747e7ce69b8416c1cfca5d939f
tree22a4fba2eef4fbfa28cae7b145514263b5f0740f
parent8857a5a33ffaff475abd6e4364d2c5a0f53c2baf
spec: describe representation of values

Add a section on the representation of values:
distinguish between values that are self-contained
and values that contain references while avoiding
the notion of "reference types" which is misleading.

Also, use "predeclared identifier nil" rather than
"predeclared value nil" because it is the identifier
that is predeclared.

Fixes #5083.

Change-Id: I2235673c6404f2c055f195e879f198c7ab246d58
Reviewed-on: https://go-review.googlesource.com/c/go/+/635801
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Bypass: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
doc/go_spec.html