Repository navigation
Commit 27bcff9
committed
fix(javascript): keep
The one pass folded an `await using` declaration's value into its read,
so the resource was never disposed: only `using` was excluded. A bigint
division by `0n` or negative exponent throws, so `/`, `%` and `**` on
bigints now count as effects unless the right side is a literal that
cannot throw.
Claude-Session: https://claude.ai/code/session_01Tgxgyb4N35ndP6cC4KcrXCawait using and throwing bigint operations1 parent 3bc0878 commit 27bcff9
3 files changed
Lines changed: 31 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
388 | | - | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
389 | 394 | | |
390 | 395 | | |
391 | 396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63242 | 63242 | | |
63243 | 63243 | | |
63244 | 63244 | | |
63245 | | - | |
| 63245 | + | |
63246 | 63246 | | |
63247 | 63247 | | |
63248 | 63248 | | |
| |||
63351 | 63351 | | |
63352 | 63352 | | |
63353 | 63353 | | |
| 63354 | + | |
| 63355 | + | |
| 63356 | + | |
| 63357 | + | |
| 63358 | + | |
| 63359 | + | |
| 63360 | + | |
| 63361 | + | |
| 63362 | + | |
63354 | 63363 | | |
63355 | 63364 | | |
63356 | 63365 | | |
| |||
63399 | 63408 | | |
63400 | 63409 | | |
63401 | 63410 | | |
63402 | | - | |
63403 | | - | |
63404 | | - | |
63405 | | - | |
| 63411 | + | |
63406 | 63412 | | |
63407 | 63413 | | |
63408 | 63414 | | |
| |||
63610 | 63616 | | |
63611 | 63617 | | |
63612 | 63618 | | |
63613 | | - | |
| 63619 | + | |
63614 | 63620 | | |
63615 | 63621 | | |
63616 | 63622 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15212 | 15212 | | |
15213 | 15213 | | |
15214 | 15214 | | |
| 15215 | + | |
| 15216 | + | |
| 15217 | + | |
| 15218 | + | |
| 15219 | + | |
| 15220 | + | |
| 15221 | + | |
| 15222 | + | |
| 15223 | + | |
| 15224 | + | |
| 15225 | + | |
| 15226 | + | |
15215 | 15227 | | |
15216 | 15228 | | |
15217 | 15229 | | |
| |||
0 commit comments