We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 977d3ba commit 7b0aef2Copy full SHA for 7b0aef2
crates/oxc_ast/src/ast_impl/js.rs
@@ -341,7 +341,7 @@ impl<'a> Expression<'a> {
341
/// or [`ImportExpression`].
342
pub fn is_call_like_expression(&self) -> bool {
343
self.is_call_expression()
344
- && matches!(self, Expression::NewExpression(_) | Expression::ImportExpression(_))
+ || matches!(self, Expression::NewExpression(_) | Expression::ImportExpression(_))
345
}
346
347
/// Returns `true` if this [`Expression`] is a [`BinaryExpression`] or [`LogicalExpression`].
0 commit comments