Rename addField to gatherField and reachMemo to renderCounts, and list every shared name left

This commit is contained in:
2026-09-25 18:57:41 +02:00
committed by Lillem4n
parent 65091233a8
commit cfe8124cc3
4 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ func checkScope(s nodeScope) error {
// the walk. Its walks terminate only where nothing renders itself, so run it over a
// loaded tree after checkNoCycles.
func checkRenders(s nodeScope) error {
mem := reachMemo{}
mem := renderCounts{}
if err := s(func(path string, n node) error { return repeatCheck(path, n, mem) }); err != nil {
return err
}