Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Apr 18, 2025

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.

Copy link
Member Author


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.

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

@github-actions github-actions bot added A-ast Area - AST C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Apr 18, 2025
@overlookmotel overlookmotel marked this pull request as ready for review April 18, 2025 10:19
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Apr 18, 2025
Copy link
Member Author

overlookmotel commented Apr 18, 2025

Merge activity

@codspeed-hq
Copy link

codspeed-hq bot commented Apr 18, 2025

CodSpeed Instrumentation Performance Report

Merging #10496 will not alter performance

Comparing 04-18-refactor_ast_estree_move_functionformalparameters_serializer_to_be_with_other_serializers_for_formalparameters_ (cfdfa2e) with main (99d82db)

Summary

✅ 36 untouched benchmarks

…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.
@graphite-app graphite-app bot force-pushed the 04-18-refactor_ast_estree_move_functionformalparameters_serializer_to_be_with_other_serializers_for_formalparameters_ branch from 895647c to cfdfa2e Compare April 18, 2025 10:26
@graphite-app graphite-app bot merged commit cfdfa2e into main Apr 18, 2025
28 checks passed
@graphite-app graphite-app bot deleted the 04-18-refactor_ast_estree_move_functionformalparameters_serializer_to_be_with_other_serializers_for_formalparameters_ branch April 18, 2025 10:32
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast Area - AST C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant