feat(debug): dump v0.3 prose bits, inferred params, and dead binds
--dump-lines tags [decl]/[bold]/[italic]; --dump-ast prints `inferred` params and `dead=[…]`. Migrate leftover italic-assign unit fixtures to bold/return. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
6994acb91d
commit
7554e45f60
12 files changed
+173
-58
No files matched your search
@@ -97,7 +97,7 @@ import json:lib/json.mq.md
|
||||
|
||||
# main
|
||||
|
||||
*`count` = 0*
|
||||
**count = 0**
|
||||
|
||||
`wire` =
|
||||
|
||||
@@ -105,13 +105,13 @@ import json:lib/json.mq.md
|
||||
|---|--------|------|------|
|
||||
| 1 | "#btn" | click | bump |
|
||||
|
||||
**`wire`**
|
||||
*wire*
|
||||
|
||||
## bump
|
||||
*`count` = count + 1*
|
||||
*`label` = > str count*
|
||||
*`patch` = > json.set map=None key="#out" value=label*
|
||||
**> json.set map=None key="set_text" value=patch**
|
||||
**count = count + 1**
|
||||
**label = > str count**
|
||||
**patch = > json.set map=None key="#out" value=label**
|
||||
*> json.set map=None key="set_text" value=patch*
|
||||
"##;
|
||||
let (mut sess, wire) = BrowserSession::boot(src).expect("boot");
|
||||
assert!(matches!(wire, Value::List(_)), "wire={wire:?}");
|
||||
|
||||
Reference in new issue
Block a user