Cut the comments that restate the README or narrate the arrangement, and name the record fence asymmetry in Decisions
Tests / vet + fmt + tests (pull_request) Successful in 1m6s
Tests / vet + fmt + tests (push) Successful in 7s

This commit was merged in pull request #16.
This commit is contained in:
2026-09-16 10:43:25 +02:00
parent 0f645d7092
commit b45a1edae0
4 changed files with 6 additions and 11 deletions
-3
View File
@@ -197,9 +197,6 @@ func checkRenders(s nodeScope) error {
return err
}
fence := &drawCheck{}
// One pass refuses a draw group that splits nothing and notes whether the scope binds a
// reference at all: weighing what a render's draws hold walks every node it renders, and
// with nothing bound there is no draw to share, so the shipped set pays for neither walk.
refs := false
if err := s(func(path string, n node) error {
if t, ok := n.(*template); ok && len(t.refs) > 0 {