Keep a name's frame with the read entering its category, refuse a binding in a choice's item, and read a name as a transform operand

This commit is contained in:
2026-10-03 02:05:02 +02:00
committed by Lillem4n
parent 40e7ab46f6
commit d0c477ec78
11 changed files with 198 additions and 130 deletions
+1 -2
View File
@@ -264,8 +264,7 @@ func recordOf(n node) (*template, []Column, error) {
func renderRecord(s *generatorState, t *template, columns []Column, sc renderScope) *Record {
sc = sc.in(t)
if t.ownScope != nil {
mark := sc.draws.pushFrame(t.ownScope)
defer sc.draws.popFrame(mark)
defer sc.draws.popFrame(sc.draws.pushFrame(sc.frameOf(t.ownScope)))
}
if t.site.isFormat() {
sc = sc.at(t.site.table.rowNode, &sc.groupDraws().pins)