Refuse a read-once name only where it binds a whole category, and say where an unseen name is bound

This commit is contained in:
2026-10-03 12:18:32 +02:00
committed by Lillem4n
parent dbc2b7e7eb
commit 32124c5b1e
3 changed files with 21 additions and 17 deletions
+2 -2
View File
@@ -731,8 +731,8 @@ Rejected at load, each error naming what to write instead:
- a name that is a field or an option;
- a binding of anything but a reference;
- a binding in a choice's item, which every other item would leave unbound;
- a binding nothing reads, or read once whole outside a `repeat`, which the reference
spells: `{/word as w}{w}` is `{/word}`;
- a binding nothing reads, or a binding of a whole category read once whole where it is
bound, which the bare reference spells: `{/word as w}{w}` is `{/word}`;
- a path through a name that selects a row;
- a read of a name rendering a field twice, where a path through the name reads it;
- reads of a name in two draw groups, or inside a `repeat`, where what it names reads a