Name the path walks and steps by what each does: drawCallerPath, callerPathSteps, compiledPath, provePath, compileStep, childNamed, table.columnOrLinked, table.followStep and pathPos.fromRow
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ func (t *template) resolveRefs(folder []string, label, category string, root map
|
||||
if category != "" && head == "/"+category {
|
||||
return refs, fmt.Errorf("%s: reference {%s}: names the category it sits in; read a sibling field as a path, or move the shared value into its own category and reference that", label, name)
|
||||
}
|
||||
if err := checkPathReaches(target, tail, head); err != nil {
|
||||
if err := provePath(target, tail, head); err != nil {
|
||||
return refs, fmt.Errorf("%s: reference {%s}: %w", label, name, err)
|
||||
}
|
||||
refs.categories[head] = target
|
||||
|
||||
Reference in New Issue
Block a user