Remove dead code (#18279)
This commit is contained in:
1 parent
5d2abd332c
commit
238c66f363
1 file changed
+3
-4
@@ -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" &&
|
||||
|
||||
Reference in new issue
Block a user