Skip to content

Conversation

@leaysgur
Copy link
Member

Fixes #10068

@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 17, 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 17, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Apr 17, 2025

CodSpeed Instrumentation Performance Report

Merging #10462 will not alter performance

Comparing fix/issue-10068 (f7c5ad7) with main (d6b7982)

Summary

✅ 36 untouched benchmarks

@leaysgur leaysgur marked this pull request as ready for review April 17, 2025 05:42
Copy link
Member

@overlookmotel overlookmotel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please:

  1. Move the serializers lower down in the file, with the other TS-related serializers, below this comment:

// --------------------
// TS
// --------------------

  1. Add a comment explaining what these 3 converters do.

After making those changes, please feel free to merge yourself.

@leaysgur
Copy link
Member Author

In addition to 3 new serializers, existing others for TS-ESTree have been moved under TS section as well.

@leaysgur leaysgur merged commit a42d85f into main Apr 18, 2025
28 checks passed
@leaysgur leaysgur deleted the fix/issue-10068 branch April 18, 2025 01:05
graphite-app bot pushed a commit that referenced this pull request Apr 18, 2025
…e with other serializers for `FormalParameters` (#10496)

Pure refactor. Revert a small change made in #10462.

`FunctionFormalParameters` serializer acts on `Function`, which is not a TS type (even though the purpose of the custom serializer is to handle a TS-specific field). Keep this serializer with the rest of the serializers related to `FormalParameters`, rather than with the serializers which act on TS-only AST types.
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.

Missing this param for TSFunctionType

3 participants