Keep reference bindings out of template.fields, in template.refHeads

This commit is contained in:
2026-09-24 13:47:51 +02:00
committed by Lillem4n
parent 84b3252bfc
commit 5aae86638b
13 changed files with 26 additions and 53 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ func walkPath(n node, tail []string, w pathWalk) (node, error) {
return nil, err
}
}
child, ok := n.field(tail[0])
child, ok := n.fields[tail[0]]
if !ok {
return nil, fmt.Errorf("no field %q", tail[0])
}