Answer stability round 1: readsRow counts a selector, checkNameReads defers to refuseSingleRead, climbed names the child's row, and geo-se.py owns its big-city reading

This commit is contained in:
2026-10-07 01:12:54 +02:00
committed by Lillem4n
parent a7101394f5
commit ee25212618
4 changed files with 9 additions and 7 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ import (
"github.com/larvit/fejkdata/internal/invariant"
)
// checkNameReads refuses each binding of t read only once, a read of a name inside the field bound
// to it, and a read {n} beside {n.w} where n's pick renders w twice.
// checkNameReads refuses each binding of t that refuseSingleRead refuses, a read of a name inside
// the field bound to it, and a read {n} beside {n.w} where n's pick renders w twice.
func checkNameReads(label string, t *template, names resolvedNames) error {
for _, tok := range t.tokens {
if tok.Kind != grammar.NameBind {