Answer architecture round 1: refuse a name read inside the field it binds, check every scope's cycles, build a column read in one pass, drop the implicit struct pick for names across tags, and state the fresh-draw rule once
This commit is contained in:
@@ -194,7 +194,7 @@ func linkNodeRefs(scope nodeScope, root map[string]node) error {
|
||||
}); err != nil {
|
||||
return err
|
||||
}
|
||||
for _, pass := range namePasses {
|
||||
for _, pass := range linkPasses {
|
||||
if err := scope(func(path string, m node) error {
|
||||
if t, ok := m.(*template); ok {
|
||||
return pass(path, t)
|
||||
|
||||
Reference in New Issue
Block a user