Skip to content

fix(ast/estree): serialize PrivateInExpression as BinaryExpression#9033

Merged
graphite-app[bot] merged 1 commit intomainfrom
02-11-fix_ast_estree_serialize_privateinexpression_as_binaryexpression_
Feb 11, 2025
Merged

fix(ast/estree): serialize PrivateInExpression as BinaryExpression#9033
graphite-app[bot] merged 1 commit intomainfrom
02-11-fix_ast_estree_serialize_privateinexpression_as_binaryexpression_

Conversation

@hi-ogawa
Copy link
Contributor

No description provided.

Copy link
Contributor Author

hi-ogawa commented Feb 11, 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.

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

@github-actions github-actions bot added the C-bug Category - Bug label Feb 11, 2025
@hi-ogawa hi-ogawa marked this pull request as ready for review February 11, 2025 04:57
@hi-ogawa hi-ogawa added the 0-merge Merge with Graphite Merge Queue label Feb 11, 2025
Copy link
Contributor Author

hi-ogawa commented Feb 11, 2025

Merge activity

  • Feb 10, 11:59 PM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Feb 10, 11:59 PM EST: A user added this pull request to the Graphite merge queue.
  • Feb 11, 12:06 AM EST: A user merged this pull request with the Graphite merge queue.

@graphite-app graphite-app bot force-pushed the 02-11-fix_ast_estree_fix_exportalldeclaration_attributes branch from 5932b2f to 2948804 Compare February 11, 2025 05:00
@codspeed-hq
Copy link

codspeed-hq bot commented Feb 11, 2025

CodSpeed Performance Report

Merging #9033 will not alter performance

Comparing 02-11-fix_ast_estree_serialize_privateinexpression_as_binaryexpression_ (f705c64) with main (df6941d)

Summary

✅ 33 untouched benchmarks

@graphite-app graphite-app bot force-pushed the 02-11-fix_ast_estree_serialize_privateinexpression_as_binaryexpression_ branch from e53caea to f705c64 Compare February 11, 2025 05:01
Base automatically changed from 02-11-fix_ast_estree_fix_exportalldeclaration_attributes to main February 11, 2025 05:04
@graphite-app graphite-app bot merged commit f705c64 into main Feb 11, 2025
26 checks passed
@graphite-app graphite-app bot deleted the 02-11-fix_ast_estree_serialize_privateinexpression_as_binaryexpression_ branch February 11, 2025 05:06
graphite-app bot pushed a commit that referenced this pull request Feb 11, 2025
Remove `PrivateInExpression::operator` field.

This field had no purpose beyond getting correct serialization to ESTree - it was always `BinaryOperator::In`, and no other value for `operator` makes sense in this position. So remove the field from the Rust type, and produce the desired output in ESTree AST using `#[estree(add_fields)]` instead.

This follows on after changes made to serialization of `PrivateInExpression` in #9033.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-merge Merge with Graphite Merge Queue A-ast Area - AST C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant