Answer architecture round 1: exempt only a calc operand from the read-once refusal, run the name passes from one list, read every operand's leaves, show a name operand in a README example, and plan a path through a name as an operand

This commit is contained in:
2026-10-05 01:05:20 +02:00
committed by Lillem4n
parent d1b3b05a0c
commit 94cf741706
12 changed files with 76 additions and 43 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ func linkNodeRefs(scope nodeScope, root map[string]node) error {
}); err != nil {
return err
}
for _, pass := range []func(string, *template) error{linkNames, checkNameReads, checkCalcNames} {
for _, pass := range namePasses {
if err := scope(func(path string, m node) error {
if t, ok := m.(*template); ok {
return pass(path, t)