fix(ast): treat TSEmptyBodyFunctionExpression as expression in Function::is_expression#14945
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. |
CodSpeed Performance ReportMerging #14945 will not alter performanceComparing Summary
|
ded44ab to
5499d0f
Compare
5499d0f to
15f875d
Compare
|
@liangmiQwQ thanks for working on this. Is this still needed since #14946 got merged? |
|
Thanks, I'm also not completely sure. The panic caused by I think it depends: if there are other cases that create And I'm not sure about whether there is anything like it. What do you think? |
TSEmptyBodyFunctionExpression as expressionsTSEmptyBodyFunctionExpression as expression in Function::is_expression
About #14944
Prevents panic by regarding
TSEmptyBodyFunctionExpressionas expressionsps:
Thanks ❤️