Name the bare read in the own-family error and its README sentence, the word the README defines

This commit is contained in:
2026-09-26 15:35:11 +02:00
committed by Lillem4n
parent 8312b44a43
commit 9babea96f6
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -546,9 +546,9 @@ table another path in the group selects a row of, `{/city.name}` beside
also refuses a link cell that is no key of the parent, a parent row no child links
to, a chain of parents that closes, a table named like a column of any table above
it, and a cell or format of a table that references a table of its own family, through
any template, a `repeat` or a `drawGroup` included, since a whole read of the table
would draw the family apart from the row it renders: read the family from a template
beside it, or add the value as a column. A cell's reads are the render's too; which pairs are weighed
any template, a `repeat` or a `drawGroup` included, since a bare read of the referencing
table draws its row without pinning it, so the family would draw apart from that row:
read the family from a template beside it, or add the value as a column. A cell's reads are the render's too; which pairs are weighed
against each other is under [Decisions](docs/decisions.md#the-rows-of-a-table-are-alternatives).
### Options and fields
+1 -1
View File
@@ -212,7 +212,7 @@ func checkOwnFamily(t *template) error {
return renderEdge{}, nil, false
}
if e, head, found := find(t); found {
return fmt.Errorf("%s reads %s, a table of its own family, which a whole read of %s would draw apart from the row it renders; read the family from a template beside it, or add the value as a column", e.reached(), head.category, own.category)
return fmt.Errorf("%s reads %s, a table of its own family, which a bare read of %s would draw apart from the row it renders; read the family from a template beside it, or add the value as a column", e.reached(), head.category, own.category)
}
return nil
}