oxc/crates/oxc_ast
overlookmotel cc5be633f2
fix(ast): fix serializing rest elements (#2652)
Fix a mistake I made in #2567. Length that `serialize_seq` is called
with should only be `+1` if there is a rest element being added on the
end.

Makes no difference for serializing to JSON, as JSON serializer doesn't
use the `len` value, but still better to get it right.
2024-03-10 02:03:05 +00:00
..
src fix(ast): fix serializing rest elements (#2652) 2024-03-10 02:03:05 +00:00
Cargo.toml refactor: "wasm" feature enable "serde" feature (#2639) 2024-03-08 10:06:49 +08:00