Commit 0173d87
committed
fix(engine): scope group tracker merge to output
render_group_component_with_format merged a suppressed/empty group's
whole tracker clone into the parent unconditionally, before checking
whether the group produced any output. Splitting the merge shows this
mattered for only half the tracker: rendered_vars/substituted_bases
(variable-once marks, substitution bookkeeping) can now only leak
from a group that actually rendered, while issued_occurrences still
advances unconditionally -- an existing test
(blank_nested_first_issued_still_advances_the_later_lane) already
proves a suppressed date: issued must keep its structural position in
fallback-lane ordering.
report-core.js shows a zero diff across the embedded corpus, so this
is a defensive ordering fix -- it closes the tracker-isolation gap
select: first (docs/specs/GROUP_SELECT.md) needs, not a fix for a
currently observable bug.
Resolves csl26-2hr4.1 parent 694428c commit 0173d87
4 files changed
Lines changed: 44 additions & 27 deletions
File tree
- .beans
- archive
- crates/citum-engine/src/processor/rendering
- grouped
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1371 | 1371 | | |
1372 | 1372 | | |
1373 | 1373 | | |
1374 | | - | |
| 1374 | + | |
1375 | 1375 | | |
| 1376 | + | |
1376 | 1377 | | |
1377 | 1378 | | |
1378 | 1379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
286 | 298 | | |
287 | 299 | | |
288 | 300 | | |
| |||
0 commit comments