Rename the load-time draw types to the read survey and fence, and move the survey to readsurvey.go

This commit is contained in:
2026-09-29 02:51:35 +02:00
committed by Lillem4n
parent 1cefa18039
commit 2d82f34cd4
11 changed files with 276 additions and 272 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: drawCheck compares every read of it, by path, across the render and its groups
continue // held for the render: readFence 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)