Skip to content

fix(ast/estree): Add ts-estree fields to FormalParametersRest custom serializer#10192

Merged
overlookmotel merged 4 commits intooxc-project:mainfrom
therewillbecode:fix/formal-parameters-rest
Apr 3, 2025
Merged

fix(ast/estree): Add ts-estree fields to FormalParametersRest custom serializer#10192
overlookmotel merged 4 commits intooxc-project:mainfrom
therewillbecode:fix/formal-parameters-rest

Conversation

@therewillbecode
Copy link
Contributor

Adds the decorators and value fields to the FormalParametersRest custom TS-EStree serializer.

Part of our broader work to align our AST's ESTree output with that of TS-ESLint's. Relates to #9705

@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 2, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions github-actions bot added A-ast Area - AST C-bug Category - Bug labels Apr 2, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Apr 2, 2025

CodSpeed Instrumentation Performance Report

Merging #10192 will not alter performance

Comparing therewillbecode:fix/formal-parameters-rest (a9f824a) with main (b662df4)

Summary

✅ 36 untouched benchmarks

@therewillbecode therewillbecode force-pushed the fix/formal-parameters-rest branch 3 times, most recently from d57a041 to 031221c Compare April 3, 2025 09:36
@overlookmotel overlookmotel force-pushed the fix/formal-parameters-rest branch from 031221c to 6374f55 Compare April 3, 2025 10:06
@overlookmotel overlookmotel merged commit db0b2eb into oxc-project:main Apr 3, 2025
25 checks passed
graphite-app bot pushed a commit that referenced this pull request Apr 3, 2025
Pure refactor. Simplify the converters which produce static values e.g. `null`. They can contain a `T` rather than a `&T` - `T` is generic, so can be a `&` itself.

#10192 made me realize this was more complex than it needed to be.
@therewillbecode therewillbecode deleted the fix/formal-parameters-rest branch April 11, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast Area - AST C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants