Repository navigation
Commit f12269d
fix(describe): emit widget-action microflow args as Param: value (#640)
DESCRIBE emitted widget-action microflow/nanoflow arguments as `Param = $value`
(IDENTIFIER EQUALS), but microflowArgV3 accepts `IDENTIFIER COLON expr`
(`Param: $value`, canonical) or `VARIABLE EQUALS expr` (`$Param = …`) — not
IDENTIFIER EQUALS. The emitted form failed to re-parse, breaking the DESCRIBE
roundtrip for any widget action passing microflow parameters.
Emit the canonical colon form in extractMicroflowParameters /
extractNanoflowParameters. Flip the two roundtrip_page_test assertions that
encoded the buggy `Param = $value` output.
With this, `describe module ... with all` round-trips fully (0 parse errors).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d02283e commit f12269d
3 files changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1163 | 1163 | | |
1164 | 1164 | | |
1165 | 1165 | | |
1166 | | - | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
1167 | 1169 | | |
1168 | 1170 | | |
1169 | 1171 | | |
| |||
1224 | 1226 | | |
1225 | 1227 | | |
1226 | 1228 | | |
1227 | | - | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
1228 | 1232 | | |
1229 | 1233 | | |
1230 | 1234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
560 | | - | |
561 | | - | |
| 560 | + | |
| 561 | + | |
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | | - | |
635 | | - | |
| 634 | + | |
| 635 | + | |
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| |||
0 commit comments