]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/noder: document quirk of string elements
authorMark Freeman <mark@golang.org>
Fri, 30 May 2025 19:44:11 +0000 (15:44 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 2 Jun 2025 18:58:38 +0000 (11:58 -0700)
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>
src/cmd/compile/internal/noder/doc.go

index cc403c835a3f5ec101d5504055a3a5c339146aaa..a5d5533168c1555151b77f64fe29ed2d78c08691 100644 (file)
@@ -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.