refactor(ast): remove AstKind for Argument#12127
Conversation
a6abb49 to
8814c53
Compare
b7e73d2 to
85b8071
Compare
85b8071 to
4cc3e9b
Compare
4cc3e9b to
0b68883
Compare
CodSpeed Instrumentation Performance ReportMerging #12127 will improve performances by 8.02%Comparing Summary
Benchmarks breakdown
|
44a04fd to
05beb1f
Compare
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. |
75d9b75 to
a631204
Compare
a631204 to
6c60f26
Compare
|
Prompted by this PR, me, @camc314, and @Dunqing had a lengthy conversation about whether we should add a new node type to AST struct CallExpressionArguments<'a> {
span: Span,
arguments: Vec<'a, Argument<'a>>,
}callee( x, y, z );
// ^^^^^^^^^^^ CallExpressionArgumentsThe arguments in favour were:
The main argument against was:
There wasn't an obvious answer to the question - we debated back and forth quite a bit. But in the end we concluded:
So, in short, conclusion was that the approach this PR is taking is good. We should remove |
|
thanks Cam for your work on this. @ulrichstark or @taearls do either of you fancy picking up and continuing these changes? |
I'd be happy to take a look once I'm done with #12401! I'm hoping to have that one ready to review later this week, so I could pick this up after that if it hasn't been taken by then. |
4b0135d to
ce60e39
Compare
|
I just opened #12401 for review, so I can start working on this now. Since I can only contribute behind a fork of the oxc repository, I will need to create a separate PR that targets this branch. Is that cool? I'm not sure if there's a better way to do this. @camc314 @overlookmotel |
|
yes pleas feel free to take over this branch, and just make a new PR from it. I won't push any new commits thanks! |
|
Superceded by #12525. |

AstKindconsistent #11490