aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorMark Freeman <mark@golang.org>2025-05-30 15:44:11 -0400
committerGopher Robot <gobot@golang.org>2025-06-02 11:58:38 -0700
commit497cb7c0c3042d3c6605b46a1bf35b7c3bc8b046 (patch)
treeb62afc27a232099335b03cbd14f6f502622983d8 /src/cmd
parentcc119ee391575fb11bdefaeac7155bcb9c2652be (diff)
downloadgo-497cb7c0c3042d3c6605b46a1bf35b7c3bc8b046.tar.xz
cmd/compile/internal/noder: document quirk of string elements
Change-Id: Ifc3bf896aaaf7c6ce06a01e3dd43780d203638cf Reviewed-on: https://go-review.googlesource.com/c/go/+/677755 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Mark Freeman <mark@golang.org> Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/compile/internal/noder/doc.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/compile/internal/noder/doc.go b/src/cmd/compile/internal/noder/doc.go
index cc403c835a..a5d5533168 100644
--- a/src/cmd/compile/internal/noder/doc.go
+++ b/src/cmd/compile/internal/noder/doc.go
@@ -49,6 +49,9 @@ outside the string section access string values by reference.
SectionString = { String } .
+Note that despite being an element, a string does not begin with a
+reference table.
+
## Meta Section
The meta section provides fundamental information for a package. It
contains exactly two elements — a public root and a private root.