Rename refBinding.key to head, and the stale key wording beside it

This commit is contained in:
2026-09-29 10:14:00 +02:00
committed by Lillem4n
parent a7d77bd3ad
commit 6275c6d41e
5 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -90,8 +90,8 @@ func checkOwnFamily(t *template) error {
seen[n] = true
for _, e := range renderEdges(n) {
if e.readsRef() {
if head, isTable := n.(*template).head(e.read.head).(*table); isTable && head.familyRoot() == own.familyRoot() {
return e, head, true
if read, isTable := n.(*template).head(e.read.head).(*table); isTable && read.familyRoot() == own.familyRoot() {
return e, read, true
}
}
if e, head, found := find(e.to); found {