Name the fence drawFence and the route surveyRoute, and move the survey tests to readsurvey_test.go

This commit is contained in:
2026-09-29 02:54:53 +02:00
committed by Lillem4n
parent 2d82f34cd4
commit f7cfc75394
9 changed files with 187 additions and 184 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ func heldCheck(path string, n node) error {
readers := pathKeyReaders(t.compiled.ops, t.compiled.pathKeys)
for _, name := range heldNames(t) {
if _, isPath := t.compiled.pathKeys[name]; isPath && isRef(name) {
continue // held for the render: readFence compares every read of it, by path, across the render and its groups
continue // held for the render: drawFence compares every read of it, by path, across the render and its groups
}
if err := checkNameHeld(t, name, readers); err != nil {
return fmt.Errorf("%s: %w", path, err)