Skip to content

Comments

refactor(ast): remove inherit_variants! from TSEnumMemberName#7248

Merged
graphite-app[bot] merged 1 commit intomainfrom
11-12-refactor_ast_remove_inherit_variants_from_tsenummembername_
Nov 12, 2024
Merged

refactor(ast): remove inherit_variants! from TSEnumMemberName#7248
graphite-app[bot] merged 1 commit intomainfrom
11-12-refactor_ast_remove_inherit_variants_from_tsenummembername_

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Nov 12, 2024

#7219 removed all variants of TSEnumMemberName except IdentifierName and StringLiteral. It no longer inherits variants from Expression, so we can remove the inherit_variants! macro wrapper.

The discriminants no longer need to avoid clashes with Expression's, so they can start at 0.

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 12, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

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

Copy link
Member Author

overlookmotel commented Nov 12, 2024

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

Join @overlookmotel and the rest of your teammates on Graphite Graphite

@github-actions github-actions bot added A-ast Area - AST C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Nov 12, 2024
@overlookmotel overlookmotel marked this pull request as ready for review November 12, 2024 11:38
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 12, 2024

CodSpeed Performance Report

Merging #7248 will not alter performance

Comparing 11-12-refactor_ast_remove_inherit_variants_from_tsenummembername_ (d3d58f8) with main (62b6327)

Summary

✅ 30 untouched benchmarks

@graphite-app graphite-app bot added the 0-merge Merge with Graphite Merge Queue label Nov 12, 2024
@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 12, 2024

Merge activity

)

#7219 removed all variants of `TSEnumMemberName` except `IdentifierName` and `StringLiteral`. It no longer inherits variants from `Expression`, so we can remove the `inherit_variants!` macro wrapper.

The discriminants no longer need to avoid clashes with `Expression`'s, so they can start at 0.
@Boshen Boshen force-pushed the 11-12-refactor_ast_remove_inherit_variants_from_tsenummembername_ branch from 2893145 to d3d58f8 Compare November 12, 2024 12:22
@graphite-app graphite-app bot merged commit d3d58f8 into main Nov 12, 2024
@graphite-app graphite-app bot deleted the 11-12-refactor_ast_remove_inherit_variants_from_tsenummembername_ branch November 12, 2024 12:26
Dunqing pushed a commit that referenced this pull request Nov 17, 2024
)

#7219 removed all variants of `TSEnumMemberName` except `IdentifierName` and `StringLiteral`. It no longer inherits variants from `Expression`, so we can remove the `inherit_variants!` macro wrapper.

The discriminants no longer need to avoid clashes with `Expression`'s, so they can start at 0.
Dunqing pushed a commit that referenced this pull request Nov 18, 2024
)

#7219 removed all variants of `TSEnumMemberName` except `IdentifierName` and `StringLiteral`. It no longer inherits variants from `Expression`, so we can remove the `inherit_variants!` macro wrapper.

The discriminants no longer need to avoid clashes with `Expression`'s, so they can start at 0.
Dunqing pushed a commit that referenced this pull request Nov 18, 2024
)

#7219 removed all variants of `TSEnumMemberName` except `IdentifierName` and `StringLiteral`. It no longer inherits variants from `Expression`, so we can remove the `inherit_variants!` macro wrapper.

The discriminants no longer need to avoid clashes with `Expression`'s, so they can start at 0.
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-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