Skip to content

refactor!: move start and end fields to last#54

Merged
overlookmotel merged 2 commits intomainfrom
07-01-refactor_move_start_and_end_fields_to_last
Jul 1, 2025
Merged

refactor!: move start and end fields to last#54
overlookmotel merged 2 commits intomainfrom
07-01-refactor_move_start_and_end_fields_to_last

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Jul 1, 2025

Move start and end fields to be last for all AST nodes in snapshots.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel marked this pull request as ready for review July 1, 2025 17:16
@overlookmotel overlookmotel merged commit d9ba02d into main Jul 1, 2025
2 checks passed
@overlookmotel overlookmotel deleted the 07-01-refactor_move_start_and_end_fields_to_last branch July 1, 2025 17:16
graphite-app bot pushed a commit to oxc-project/oxc that referenced this pull request Jul 1, 2025
Related to #10307.

Re-arrange fields in ESTree AST, so `start` and `end` are last, instead of first.

Also bump `acorn-test262` submodule to include oxc-project/estree-conformance#54, which rearranges the fields in test snapshots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant