Skip to content
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

Add PushState overload to combine Parse::State change with StateStackEntry #3485

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

josh11b
Copy link
Contributor

@josh11b josh11b commented Dec 8, 2023

Shortens a common PushState pattern

Copy link
Contributor

@jonmeow jonmeow left a comment

Choose a reason for hiding this comment

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

Thanks! I was thinking about similar, I think this is a good simplification.

Should the PR description be more specific, though? e.g. something such as "Add PushState overload to combine Parse::State change with StateStackEntry" might make it easy to understand what's changing without opening the PR.

@josh11b josh11b changed the title Shorten common PushState pattern in parse stage Add PushState overload to combine Parse::State change with StateStackEntry Dec 8, 2023
@josh11b
Copy link
Contributor Author

josh11b commented Dec 8, 2023

Thanks! I was thinking about similar, I think this is a good simplification.

Should the PR description be more specific, though? e.g. something such as "Add PushState overload to combine Parse::State change with StateStackEntry" might make it easy to understand what's changing without opening the PR.

Done.

@josh11b josh11b added this pull request to the merge queue Dec 8, 2023
Merged via the queue into carbon-language:trunk with commit b7d129b Dec 9, 2023
8 checks passed
@josh11b josh11b deleted the push branch December 9, 2023 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants