oxc/crates/oxc_parser
Dunqing 1380d8b5dc fix(parser): should regard comments where after = as leading comments of next token (#6355)
A part of fixing https://github.com/rolldown/rolldown/pull/2375/files#r1789011257

### Compare to `Babel`
This is also among its behavior, see

<img width="1470" alt="image" src="https://github.com/user-attachments/assets/1b1f9c78-3e44-495d-b2f7-38e6c3bc8bf1">

### Compare to `esbuild`

I haven't looked through related code from esbuild, from its playground, the behavior looks the same

https://esbuild.github.io/try/#dAAwLjI0LjAAAGNvbnN0IEEgPSAvLyBzZGRkZGQKKCkgPT4ge30
2024-10-08 05:42:41 +00:00
..
examples refactor(regular_expression)!: Simplify public APIs (#6262) 2024-10-03 02:47:08 +00:00
src fix(parser): should regard comments where after = as leading comments of next token (#6355) 2024-10-08 05:42:41 +00:00
Cargo.toml feat(syntax_operations): add crate oxc_syntax_operations (#6202) 2024-10-07 05:39:59 +00:00
CHANGELOG.md release(crates): v0.30.4 (#6134) 2024-09-28 13:08:44 +08:00