Commit 0e48151
fix(ci): close the pending-drop resolver under variable assignment
A table parked in an ordinary binding (`const t = userStats`) escaped the
audit, since only alias() results were re-bound. Binding collection now
resolves any declarator whose right side names a table — the table
itself, a namespace member, an earlier binding, or an alias() call — and
repeats to a fixpoint so declaration order does not matter. Verified by
probe: argless reads through a direct assignment, a namespace-member
assignment, and a chained binding are all reported now, where the
previous version reported none; the repo stays clean, including a file
where a local array shadows a pending table's name.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent f1c2e79 commit 0e48151
1 file changed
Lines changed: 21 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
330 | 333 | | |
331 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
332 | 341 | | |
| 342 | + | |
333 | 343 | | |
334 | | - | |
| 344 | + | |
335 | 345 | | |
336 | | - | |
337 | 346 | | |
338 | 347 | | |
339 | 348 | | |
| |||
0 commit comments