-
-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(ast): rename #[estree(add_entry)]
to #[estree(add_fields)]
#8926
refactor(ast): rename #[estree(add_entry)]
to #[estree(add_fields)]
#8926
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
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. |
973893c
to
3d7ce31
Compare
CodSpeed Performance ReportMerging #8926 will not alter performanceComparing Summary
|
@hi-ogawa It'd be ideal if we could specify the name, value, and TS type for extra fields in one place, instead of the repetition in But I can't see a good way to encode that in attributes right now. We can revisit this. But regardless, the functionality provided by |
Merge activity
|
f4b2acd
to
ab601a1
Compare
3d7ce31
to
647a288
Compare
#8921 introduced attribute to add extra fields to a struct in ESTree AST
#[estree(add_entry(...))]
. Rename it to#[estree(add_fields(...))]
, as that's more descriptive of what it does.