Keep in a pick only what reads of its name address, look frames up on the stack alone, and refuse a name read once whole

This commit is contained in:
2026-10-03 02:36:12 +02:00
committed by Lillem4n
parent 685e7bb27c
commit b1aed332e7
15 changed files with 455 additions and 231 deletions
+2 -2
View File
@@ -345,8 +345,8 @@ func (t *table) compileRowFormat(format string) error {
if err != nil {
return err
}
if len(unbound) > 0 {
return unbound[0].err
if err := checkTableToks(nil, unbound); err != nil {
return err
}
t.formatTemplate = &template{format: format, tokens: toks, fields: fields, repeat: 1, isRecord: true, site: tableSite{t, formatRow}}
t.rowNode = &tableRow{t}