Pin bare-reference independence and tighten the shared-draw comments
Tests / vet + fmt + tests (pull_request) Successful in 1m3s

This commit is contained in:
2026-09-03 23:29:10 +02:00
parent 93ac610192
commit d237c15d77
3 changed files with 28 additions and 4 deletions
+1 -2
View File
@@ -274,8 +274,7 @@ func readField(s *session, t *template, held, shared *draws, a arm) string {
}
return renderShared(s, t.fields[a.key], shared)
}
// A reference names a shared source, so a record shares its draw across the
// columns; a sibling field is drawn per expansion as always.
// A reference shares its draw across a record's columns; a sibling is per expansion.
d := held
if isRef(a.key) && shared != nil {
d = shared