Repository navigation
Commit 5aecfa9
committed
Add a regression test for the object-literal case
walkConsumed() already handles a callback nested inside an
ObjectExpression, added alongside the array/spread fix, but nothing
exercised that branch. Add a test, and confirm it fails when the
branch is disabled.
Assisted-by: Claude Code:claude-sonnet-51 parent e4c56f6 commit 5aecfa9
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1198 | 1198 | | |
1199 | 1199 | | |
1200 | 1200 | | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
1201 | 1223 | | |
1202 | 1224 | | |
1203 | 1225 | | |
| |||
0 commit comments