Rename arm.key to head, give renderScope.row its own type, and value.go to valueproof.go
This commit is contained in:
+1
-1
@@ -146,7 +146,7 @@ func columnReadOf(t *template, link templateLink) *columnRead {
|
||||
return nil
|
||||
}
|
||||
a := splitArm(name, link.refs)
|
||||
target, isTemplate := link.refHeads[a.key].(*template)
|
||||
target, isTemplate := link.refHeads[a.head].(*template)
|
||||
if !isTemplate || !target.isRecord || len(a.tail) != 1 {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user