Repository navigation
jsc: finish arguments_old -> arguments_as_array migration and delete arguments_old - #35326
Merged
Merged
Claude / Claude Code Review
completed
Jul 24, 2026 in 16m 41s
Code review found 1 potential issue
Found 1 candidates, confirmed 1. See review comments for details.
Details
| Severity | Count |
|---|---|
| 🔴 Important | 0 |
| 🟡 Nit | 0 |
| 🟣 Pre-existing | 1 |
| Severity | File:Line | Issue |
|---|---|---|
| 🟣 Pre-existing | src/runtime/test_runner/expect/toBeWithin.rs:19-21 |
toBeWithin panics on 1 argument (pre-existing < 1 guard should be < 2) |
Annotations
Check notice on line 21 in src/runtime/test_runner/expect/toBeWithin.rs
claude / Claude Code Review
toBeWithin panics on 1 argument (pre-existing < 1 guard should be < 2)
Pre-existing: `expect(x).toBeWithin(3)` (one numeric arg) panics with a Rust slice index-out-of-bounds — the guard at line 21 is `arguments.len() < 1` but line 36 unconditionally reads `arguments[1]`. The old `arguments_old::<2>().slice()` also had length 1 with one passed arg and panicked identically, so this PR faithfully preserved behavior; flagging as a follow-up (guard should be `< 2` to match its own "requires 2 arguments" message) since you already declined a similar out-of-scope fix in `
Loading