Remove dead code (#18279)

This commit is contained in:
fisker Cheung authored and GitHub committed 2025-11-19 02:08:57 +08:00
1 parent 5d2abd332c
commit 238c66f363
1 file changed
+3 -4
+3 -4
View File
@@ -47,10 +47,9 @@ function printMemberExpression(path, options, print) {
);
const shouldInline =
(firstNonMemberParent &&
(firstNonMemberParent.type === "BindExpression" ||
(firstNonMemberParent.type === "AssignmentExpression" &&
firstNonMemberParent.left.type !== "Identifier"))) ||
firstNonMemberParent.type === "BindExpression" ||
(firstNonMemberParent.type === "AssignmentExpression" &&
firstNonMemberParent.left.type !== "Identifier") ||
shouldInlineNewExpressionCallee(path) ||
node.computed ||
(node.object.type === "Identifier" &&