Name a cell's line in its link-time errors, and say where a format holding a reference compiles

This commit is contained in:
2026-09-24 22:43:05 +02:00
committed by Lillem4n
parent 1bf684aab2
commit 2e778f3b31
3 changed files with 8 additions and 6 deletions
+3
View File
@@ -91,6 +91,9 @@ func linkTemplateRefs(folder []string, path, category string, t *template, root
if len(names) == 0 {
return nil
}
if t.cellOf != nil {
path = fmt.Sprintf("%s, line %d", path, t.cellRow+2)
}
t.refs = make(map[string]refBinding, len(names))
t.refHeads = make(map[string]node, len(names))
for _, name := range names {