-
-
Notifications
You must be signed in to change notification settings - Fork 492
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
feat(ast): implement From<Argument>
for ArrayExpressionElement
#7830
feat(ast): implement From<Argument>
for ArrayExpressionElement
#7830
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. |
CodSpeed Performance ReportMerging #7830 will not alter performanceComparing Summary
|
e66c18d
to
84114bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll make a change to this in a follow-up.
Merge activity
|
84114bd
to
e633cf0
Compare
e633cf0
to
38c849b
Compare
38c849b
to
6466a4a
Compare
…nElement` conversion (#7848) Follow-on after #7830. Refactor. Use an exhaustive match in implementation of `From<Argument<'a>> for ArrayExpressionElement<'a>`. At present this change makes no difference. But the reason I feel an exhaustive match is preferable here is that if we add a variant to `Argument` enum later, then this match will be missing an arm to handle that variant, and compiler will refuse to compile until we deal with it. Whereas before this PR, compiler would not complain, but instead it'd be a runtime panic when `into_expression` discovers that the new `Argument` variant is not an `Expression`.
No description provided.