Name a cell's line in its link-time errors, and say where a format holding a reference compiles
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user