Return link's and format compile's outputs as templateLink and formatOps, assigned once in linkTemplate

This commit is contained in:
2026-09-28 23:37:32 +02:00
committed by Lillem4n
parent 243094e4ab
commit e257dc0e6e
17 changed files with 120 additions and 118 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ func readsFact(n node) string {
collect(cell)
}
case *template:
for _, b := range n.refs {
for _, b := range n.link.refs {
set[strings.TrimPrefix(b.key, "/")] = true
}
for _, field := range n.fields {