oxc/crates/oxc_ast/src
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
..
ast fix(ast): add RestElements in serialized AST to elements array (#2567) 2024-03-08 02:56:12 +00:00
syntax_directed_operations feat(ast): add "abstract" type to MethodDefinition and PropertyDefinition (#2536) 2024-02-28 17:33:11 +08:00
ast_builder.rs feat(transformer/decorators): handling the coexistence of class decorators and member decorators (#2636) 2024-03-07 16:52:30 +08:00
ast_kind.rs [BREAKING CHANGE] Change Atom to Atom<'a> to make it safe (#2497) 2024-02-26 19:34:40 +08:00
lib.rs refactor(ast): split syntax_directed_operations into separate files 2023-10-19 14:58:31 +08:00
precedence.rs refactor(ast): s/ArrowExpression/ArrowFunctionExpression to align estree 2024-02-21 21:41:08 +08:00
serialize.rs fix(ast): fix serializing rest elements (#2652) 2024-03-10 02:03:05 +00:00
span.rs feat(ast): add "abstract" type to MethodDefinition and PropertyDefinition (#2536) 2024-02-28 17:33:11 +08:00
trivia.rs feat(linter): no-irregular-whitespace rule (#1835) 2023-12-31 12:05:38 +08:00
visit.rs feat(ast): add AssignmentTargetRest (#2601) 2024-03-04 14:31:22 +08:00
visit_mut.rs feat(ast): add AssignmentTargetRest (#2601) 2024-03-04 14:31:22 +08:00