From: Mark Freeman Date: Fri, 30 May 2025 19:44:11 +0000 (-0400) Subject: cmd/compile/internal/noder: document quirk of string elements X-Git-Tag: go1.25rc1~21 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=497cb7c0c3042d3c6605b46a1bf35b7c3bc8b046;p=gostls13.git 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 Auto-Submit: Mark Freeman Reviewed-by: Robert Griesemer --- 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.