oxc/crates/oxc_codegen
Dunqing 8ed976661a
fix(codegen): source map builder panicked because it attempted to subtract with overflow in search_original_line_and_column (#8185)
See:
https://github.com/oxc-project/monitor-oxc/actions/runs/12531534720/job/34949348092
Related: #7926 

This line causes panic.

46fc1a8b7d/crates/oxc_codegen/src/sourcemap_builder.rs (L147-L148)

After investigation, I found that the root cause was the code removed
in this PR. I don’t understand what the code was used for, but it was
obviously wrong. Because `idx` is always smaller than `cap`
2024-12-31 20:00:41 +08:00
..
examples fix(codegen): print if else without block with proper indentation (#8135) 2024-12-27 00:39:52 +00:00
src fix(codegen): source map builder panicked because it attempted to subtract with overflow in search_original_line_and_column (#8185) 2024-12-31 20:00:41 +08:00
tests/integration feat(codegen): print real newline when \n is inside template literals (#8178) 2024-12-29 12:20:47 +00:00
Cargo.toml release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00
CHANGELOG.md release(crates): v0.44.0 (#8110) 2024-12-25 21:03:09 +08:00