Pin bare-reference independence and tighten the shared-draw comments
Tests / vet + fmt + tests (pull_request) Successful in 1m3s
Tests / vet + fmt + tests (pull_request) Successful in 1m3s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user