Name the bare read in the own-family error and its README sentence, the word the README defines
This commit is contained in:
@@ -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
|
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
|
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
|
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
|
any template, a `repeat` or a `drawGroup` included, since a bare read of the referencing
|
||||||
would draw the family apart from the row it renders: read the family from a template
|
table draws its row without pinning it, so the family would draw apart from that row:
|
||||||
beside it, or add the value as a column. A cell's reads are the render's too; which pairs are weighed
|
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).
|
against each other is under [Decisions](docs/decisions.md#the-rows-of-a-table-are-alternatives).
|
||||||
|
|
||||||
### Options and fields
|
### Options and fields
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ func checkOwnFamily(t *template) error {
|
|||||||
return renderEdge{}, nil, false
|
return renderEdge{}, nil, false
|
||||||
}
|
}
|
||||||
if e, head, found := find(t); found {
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user