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:
+1
-1
@@ -77,7 +77,7 @@ func linkRefs(sites []categorySite, 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 := eachTemplate(sites, func(_ categorySite, path string, t *template) error { return pass(path, t) }); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user