fix corner case collapse_vars (#5569)

fixes #5568
This commit is contained in:
Alex Lam S.L
2022-07-18 02:04:51 +01:00
committed by GitHub
parent ec4558be29
commit f0120e90b6
4 changed files with 36 additions and 1 deletions

View File

@@ -141,6 +141,7 @@ var AST_Node = DEFNODE("Node", "start end", {
}, null);
DEF_BITPROPS(AST_Node, [
// AST_Node
"_optimized",
"_squeezed",
// AST_Call
@@ -175,6 +176,8 @@ DEF_BITPROPS(AST_Node, [
"pure",
// AST_Assign
"redundant",
// AST_Node
"single_use",
// AST_ClassProperty
"static",
// AST_Call