Unverified Commit 45b91fd3 authored by Niklas Mischkulnig's avatar Niklas Mischkulnig Committed by GitHub

Turbopack: improve loop breaks (#77964)

parent 30a7204c
......@@ -1744,6 +1744,42 @@ impl VisitAstPath for Analyzer<'_> {
}
}
fn visit_for_in_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ForInStmt,
ast_path: &mut swc_core::ecma::visit::AstNodePath<'r>,
) {
{
let mut ast_path =
ast_path.with_guard(AstParentNodeRef::ForInStmt(n, ForInStmtField::Right));
n.right.visit_with_ast_path(self, &mut ast_path);
}
{
let mut ast_path =
ast_path.with_guard(AstParentNodeRef::ForInStmt(n, ForInStmtField::Left));
self.with_pat_value(
// TODO this should really be
// `Some(JsValue::iteratedKeys(Box::new(self.eval_context.eval(&n.right))))`
Some(JsValue::unknown_empty(
false,
"for-in variable currently not analyzed",
)),
|this| {
n.left.visit_with_ast_path(this, &mut ast_path);
},
)
}
let mut ast_path =
ast_path.with_guard(AstParentNodeRef::ForInStmt(n, ForInStmtField::Body));
let prev_early_return_stack = take(&mut self.early_return_stack);
n.body.visit_with_ast_path(self, &mut ast_path);
self.end_early_return_block();
self.early_return_stack = prev_early_return_stack;
}
fn visit_for_of_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ForOfStmt,
......@@ -1752,21 +1788,58 @@ impl VisitAstPath for Analyzer<'_> {
{
let mut ast_path =
ast_path.with_guard(AstParentNodeRef::ForOfStmt(n, ForOfStmtField::Right));
self.visit_expr(&n.right, &mut ast_path);
n.right.visit_with_ast_path(self, &mut ast_path);
}
let array = self.eval_context.eval(&n.right);
let iterable = self.eval_context.eval(&n.right);
self.with_pat_value(Some(JsValue::iterated(Box::new(array))), |this| {
// TODO n.await is ignored (async interables)
self.with_pat_value(Some(JsValue::iterated(Box::new(iterable))), |this| {
let mut ast_path =
ast_path.with_guard(AstParentNodeRef::ForOfStmt(n, ForOfStmtField::Left));
this.visit_for_head(&n.left, &mut ast_path);
n.left.visit_with_ast_path(this, &mut ast_path);
});
let mut ast_path =
ast_path.with_guard(AstParentNodeRef::ForOfStmt(n, ForOfStmtField::Body));
self.visit_stmt(&n.body, &mut ast_path);
let prev_early_return_stack = take(&mut self.early_return_stack);
n.body.visit_with_ast_path(self, &mut ast_path);
self.end_early_return_block();
self.early_return_stack = prev_early_return_stack;
}
fn visit_for_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ForStmt,
ast_path: &mut swc_core::ecma::visit::AstNodePath<'r>,
) {
let prev_early_return_stack = take(&mut self.early_return_stack);
n.visit_children_with_ast_path(self, ast_path);
self.end_early_return_block();
self.early_return_stack = prev_early_return_stack;
}
fn visit_while_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast WhileStmt,
ast_path: &mut swc_core::ecma::visit::AstNodePath<'r>,
) {
let prev_early_return_stack = take(&mut self.early_return_stack);
n.visit_children_with_ast_path(self, ast_path);
self.end_early_return_block();
self.early_return_stack = prev_early_return_stack;
}
fn visit_do_while_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast DoWhileStmt,
ast_path: &mut swc_core::ecma::visit::AstNodePath<'r>,
) {
let prev_early_return_stack = take(&mut self.early_return_stack);
n.visit_children_with_ast_path(self, ast_path);
self.end_early_return_block();
self.early_return_stack = prev_early_return_stack;
}
fn visit_simple_assign_target<'ast: 'r, 'r>(
......
......@@ -3399,8 +3399,7 @@ c#1018 = (arguments[2] | d[a])
c#1019 = arguments[2]
c#102 = (???*0* | "cssFloat")
- *0* c
⚠️ pattern without value
- *0* for-in variable currently not analyzed
c#1023 = arguments[2]
......@@ -3471,8 +3470,7 @@ c#203 = (arguments[2] | b["tag"])
c#207 = b["length"]
c#212 = ???*0*
- *0* c
⚠️ pattern without value
- *0* for-in variable currently not analyzed
c#236 = (arguments[2] | new td("onChange", "change", null, c, d))
......@@ -3504,9 +3502,10 @@ c#269 = arguments[2]
c#270 = {}
c#271 = ???*0*
c#271 = (???*0* | ???*1*)
- *0* c
⚠️ pattern without value
- *1* for-in variable currently not analyzed
c#274 = arguments[2]
......@@ -3573,8 +3572,7 @@ c#364 = (b | undefined)
c#370 = (a["data"] | undefined)
c#381 = ???*0*
- *0* c
⚠️ pattern without value
- *0* for-in variable currently not analyzed
c#385 = arguments[2]
......@@ -4656,8 +4654,7 @@ e#320 = (c["nextSibling"] | undefined)
e#341 = {}
e#345 = ???*0*
- *0* e
⚠️ pattern without value
- *0* for-in variable currently not analyzed
e#354 = ???*0*
- *0* e
......@@ -4963,9 +4960,10 @@ f#308 = (e["stateNode"] | undefined | Kb(a, c) | Kb(a, b))
f#311 = b["_reactName"]
f#341 = ???*0*
f#341 = (???*0* | ???*1*)
- *0* f
⚠️ pattern without value
- *1* for-in variable currently not analyzed
f#357 = ((???*0* + e) | ???*1*["toString"](32))
- *0* unsupported expression
......@@ -5076,8 +5074,7 @@ f#647 = (
| !(0)
| c
)
- *0* f
⚠️ pattern without value
- *0* for-in variable currently not analyzed
f#673 = (d["focusNode"] | undefined)
......@@ -5279,9 +5276,10 @@ g#609 = (
g#614 = arguments[6]
g#639 = ???*0*
g#639 = (???*0* | ???*1*)
- *0* g
⚠️ pattern without value
- *1* for-in variable currently not analyzed
g#647 = (
| ???*0*
......@@ -5292,8 +5290,7 @@ g#647 = (
| Mh(a)
| f["alternate"]
)
- *0* g
⚠️ pattern without value
- *0* for-in variable currently not analyzed
g#673 = (0 | undefined | (g + q["nodeValue"]["length"]))
......@@ -5859,8 +5856,7 @@ l#601 = (
)
l#639 = (???*0* | f | undefined)
- *0* l
⚠️ pattern without value
- *0* for-in variable currently not analyzed
l#673 = (0 | undefined | ???*0*)
- *0* updated with update expression
......
......@@ -6695,8 +6695,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
0 -> 1004 member call = ???*0*["hasOwnProperty"]((???*1* | "cssFloat"))
- *0* arguments[1]
⚠️ function calls are not analysed yet
- *1* c
⚠️ pattern without value
- *1* for-in variable currently not analyzed
0 -> 1005 conditional = ???*0*
- *0* ???*1*["hasOwnProperty"](c)
......@@ -6705,28 +6704,24 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ function calls are not analysed yet
1005 -> 1007 member call = (???*0* | "cssFloat")["indexOf"]("--")
- *0* c
⚠️ pattern without value
- *0* for-in variable currently not analyzed
1005 -> 1009 call = (...) => (((null == b) || ("boolean" === typeof(b)) || ("" === b)) ? "" : ((c || ("number" !== typeof(b)) || (0 === b) || (pb["hasOwnProperty"](a) && pb[a])) ? `${b}`["trim"]() : `${b}px`))((???*0* | "cssFloat"), ???*1*, ((0 === (???*3* | ???*5*)) | undefined))
- *0* c
⚠️ pattern without value
- *0* for-in variable currently not analyzed
- *1* ???*2*[c]
⚠️ unknown object
- *2* arguments[1]
⚠️ function calls are not analysed yet
- *3* ???*4*["indexOf"]("--")
⚠️ unknown callee object
- *4* c
⚠️ pattern without value
- *4* for-in variable currently not analyzed
- *5* "cssFloat"["indexOf"]("--")
⚠️ nested operation
1005 -> 1010 conditional = ((0 === (???*0* | ???*2*)) | undefined)
- *0* ???*1*["indexOf"]("--")
⚠️ unknown callee object
- *1* c
⚠️ pattern without value
- *1* for-in variable currently not analyzed
- *2* "cssFloat"["indexOf"]("--")
⚠️ nested operation
......@@ -6737,8 +6732,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *2* a
⚠️ circular variable reference
- *3* c
⚠️ pattern without value
- *3* for-in variable currently not analyzed
- *4* (null == ???*5*)
⚠️ nested operation
- *5* ???*6*[c]
......@@ -6751,8 +6745,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ nested operation
- *9* ???*10*["indexOf"]("--")
⚠️ unknown callee object
- *10* c
⚠️ pattern without value
- *10* for-in variable currently not analyzed
- *11* "cssFloat"["indexOf"]("--")
⚠️ nested operation
- *12* (???*13* | ???*14*)((???*15* | "cssFloat"))
......@@ -6762,8 +6755,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ This value might have side effects
- *14* unknown mutation
⚠️ This value might have side effects
- *15* c
⚠️ pattern without value
- *15* for-in variable currently not analyzed
- *16* node limit reached
⚠️ This value might have side effects
- *17* ???*18*()
......@@ -8037,7 +8029,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
- *1* `https://reactjs.org/docs/error-decoder.html?invariant=${190}`
⚠️ nested operation
0 -> 1210 conditional = (3 !== (
1166 -> 1210 conditional = (3 !== (
| ???*0*
| undefined["return"]["tag"]
| undefined["alternate"]["tag"]
......@@ -8062,7 +8054,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
- *1* `https://reactjs.org/docs/error-decoder.html?invariant=${188}`
⚠️ nested operation
0 -> 1216 conditional = ((
1166 -> 1216 conditional = ((
| ???*0*
| undefined["return"]["stateNode"]["current"]
| undefined["alternate"]["stateNode"]["current"]
......@@ -8106,7 +8098,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
- *13* b
⚠️ circular variable reference
0 -> 1217 unreachable = ???*0*
1166 -> 1217 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
......@@ -8374,7 +8366,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
- *0* unreachable
⚠️ This value might have side effects
0 -> 1231 unreachable = ???*0*
1224 -> 1231 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
......@@ -9651,7 +9643,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
- *2* max number of linking steps reached
⚠️ This value might have side effects
0 -> 1440 unreachable = ???*0*
1417 -> 1440 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
......@@ -11343,8 +11335,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
0 -> 1588 member call = ???*0*["hasOwnProperty"](???*1*)
- *0* arguments[0]
⚠️ function calls are not analysed yet
- *1* c
⚠️ pattern without value
- *1* for-in variable currently not analyzed
0 -> 1591 conditional = (???*0* | ???*1*)
- *0* arguments[0]
......@@ -13127,7 +13118,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
- *0* unreachable
⚠️ This value might have side effects
0 -> 1863 unreachable = ???*0*
1852 -> 1863 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
......@@ -14198,7 +14189,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
- *0* unreachable
⚠️ This value might have side effects
2068 -> 2072 member call = ({} | ???*0*)["hasOwnProperty"](???*2*)
2068 -> 2072 member call = ({} | ???*0*)["hasOwnProperty"]((???*2* | ???*3*))
- *0* {}[???*1*]
⚠️ unknown object prototype methods or values
⚠️ This value might have side effects
......@@ -14206,9 +14197,10 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ function calls are not analysed yet
- *2* c
⚠️ pattern without value
- *3* for-in variable currently not analyzed
2068 -> 2073 conditional = (???*0* | ???*4* | ???*8*)
- *0* (???*1* | ???*2*)(???*3*)
2068 -> 2073 conditional = (???*0* | ???*5* | ???*10*)
- *0* (???*1* | ???*2*)((???*3* | ???*4*))
⚠️ non-function callee
- *1* FreeVar(undefined)
⚠️ unknown global
......@@ -14217,24 +14209,26 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ This value might have side effects
- *3* c
⚠️ pattern without value
- *4* ???*5*["hasOwnProperty"](???*7*)
- *4* for-in variable currently not analyzed
- *5* ???*6*["hasOwnProperty"]((???*8* | ???*9*))
⚠️ unknown callee object
⚠️ This value might have side effects
- *5* {}[???*6*]
- *6* {}[???*7*]
⚠️ unknown object prototype methods or values
⚠️ This value might have side effects
- *6* arguments[0]
- *7* arguments[0]
⚠️ function calls are not analysed yet
- *7* c
- *8* c
⚠️ pattern without value
- *8* unsupported expression
- *9* for-in variable currently not analyzed
- *10* unsupported expression
⚠️ This value might have side effects
2073 -> 2076 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
2073 -> 2077 unreachable = ???*0*
2068 -> 2077 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
......@@ -18132,7 +18126,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
- *0* unreachable
⚠️ This value might have side effects
0 -> 2496 unreachable = ???*0*
2481 -> 2496 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
......@@ -18346,8 +18340,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
2558 -> 2561 call = (...) => `Minified React error #${a}; visit ${b} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`(108, ???*0*, ???*1*)
- *0* max number of linking steps reached
⚠️ This value might have side effects
- *1* e
⚠️ pattern without value
- *1* for-in variable currently not analyzed
2558 -> 2562 call = ???*0*(???*1*)
- *0* FreeVar(Error)
......@@ -27087,7 +27080,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
- *0* unreachable
⚠️ This value might have side effects
3680 -> 3682 unreachable = ???*0*
3673 -> 3682 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
......@@ -37772,8 +37765,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *2* arguments[3]
⚠️ function calls are not analysed yet
- *3* l
⚠️ pattern without value
- *3* for-in variable currently not analyzed
- *4* f
⚠️ circular variable reference
- *5* ???*6*[(???*20* | null | undefined | [] | ???*21*)]
......@@ -37816,8 +37808,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *19* arguments[0]
⚠️ function calls are not analysed yet
- *20* l
⚠️ pattern without value
- *20* for-in variable currently not analyzed
- *21* f
⚠️ circular variable reference
- *22* k
......@@ -37908,8 +37899,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *14* arguments[0]
⚠️ function calls are not analysed yet
- *15* l
⚠️ pattern without value
- *15* for-in variable currently not analyzed
- *16* f
⚠️ circular variable reference
......@@ -37955,8 +37945,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *15* arguments[0]
⚠️ function calls are not analysed yet
- *16* l
⚠️ pattern without value
- *16* for-in variable currently not analyzed
- *17* f
⚠️ circular variable reference
......@@ -37965,8 +37954,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown callee object
- *1* arguments[3]
⚠️ function calls are not analysed yet
- *2* l
⚠️ pattern without value
- *2* for-in variable currently not analyzed
- *3* f
⚠️ circular variable reference
- *4* ???*5*["hasOwnProperty"]((???*19* | null | undefined | [] | ???*20*))
......@@ -38009,8 +37997,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *18* arguments[0]
⚠️ function calls are not analysed yet
- *19* l
⚠️ pattern without value
- *19* for-in variable currently not analyzed
- *20* f
⚠️ circular variable reference
- *21* ???*22*["hasOwnProperty"]((???*24* | null | undefined | [] | ???*25*))
......@@ -38019,8 +38006,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *23* arguments[0]
⚠️ function calls are not analysed yet
- *24* l
⚠️ pattern without value
- *24* for-in variable currently not analyzed
- *25* f
⚠️ circular variable reference
- *26* ???*27*["hasOwnProperty"]((???*41* | null | undefined | [] | ???*42*))
......@@ -38063,8 +38049,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *40* arguments[0]
⚠️ function calls are not analysed yet
- *41* l
⚠️ pattern without value
- *41* for-in variable currently not analyzed
- *42* f
⚠️ circular variable reference
- *43* ???*44*[(???*46* | null | undefined | [] | ???*47*)]
......@@ -38073,8 +38058,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *45* arguments[0]
⚠️ function calls are not analysed yet
- *46* l
⚠️ pattern without value
- *46* for-in variable currently not analyzed
- *47* f
⚠️ circular variable reference
- *48* ???*49*[(???*63* | null | undefined | [] | ???*64*)]
......@@ -38117,14 +38101,12 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *62* arguments[0]
⚠️ function calls are not analysed yet
- *63* l
⚠️ pattern without value
- *63* for-in variable currently not analyzed
- *64* f
⚠️ circular variable reference
4968 -> 4969 conditional = ("style" === (???*0* | null | undefined | [] | ???*1*))
- *0* l
⚠️ pattern without value
- *0* for-in variable currently not analyzed
- *1* f
⚠️ circular variable reference
......@@ -38134,15 +38116,14 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
| undefined
| (???*22* ? (???*39* | ???*44*) : ???*61*)
| (???*62* ? ???*63* : ???*65*)
)["hasOwnProperty"](???*66*)
)["hasOwnProperty"]((???*66* | ???*67*))
- *0* ???*1*[(???*3* | null | undefined | [] | ???*4*)]
⚠️ unknown object
- *1* ???*2*["memoizedProps"]
⚠️ unknown object
- *2* arguments[0]
⚠️ function calls are not analysed yet
- *3* l
⚠️ pattern without value
- *3* for-in variable currently not analyzed
- *4* f
⚠️ circular variable reference
- *5* ???*6*[(???*20* | null | undefined | [] | ???*21*)]
......@@ -38185,8 +38166,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *19* arguments[0]
⚠️ function calls are not analysed yet
- *20* l
⚠️ pattern without value
- *20* for-in variable currently not analyzed
- *21* f
⚠️ circular variable reference
- *22* (null != (???*23* | ???*25*))
......@@ -38238,8 +38218,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *41* arguments[0]
⚠️ function calls are not analysed yet
- *42* l
⚠️ pattern without value
- *42* for-in variable currently not analyzed
- *43* f
⚠️ circular variable reference
- *44* ???*45*[(???*59* | null | undefined | [] | ???*60*)]
......@@ -38282,8 +38261,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *58* arguments[0]
⚠️ function calls are not analysed yet
- *59* l
⚠️ pattern without value
- *59* for-in variable currently not analyzed
- *60* f
⚠️ circular variable reference
- *61* unsupported expression
......@@ -38298,10 +38276,10 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ This value might have side effects
- *66* g
⚠️ pattern without value
- *67* for-in variable currently not analyzed
4969 -> 4975 member call = {}["hasOwnProperty"]((???*0* | null | undefined | [] | ???*1*))
- *0* l
⚠️ pattern without value
- *0* for-in variable currently not analyzed
- *1* f
⚠️ circular variable reference
......@@ -38313,16 +38291,14 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ This value might have side effects
- *2* unknown mutation
⚠️ This value might have side effects
- *3* l
⚠️ pattern without value
- *3* for-in variable currently not analyzed
- *4* f
⚠️ circular variable reference
4976 -> 4978 member call = ???*0*["push"]((???*1* | null | undefined | [] | ???*2*), null)
- *0* unsupported expression
⚠️ This value might have side effects
- *1* l
⚠️ pattern without value
- *1* for-in variable currently not analyzed
- *2* f
⚠️ circular variable reference
......@@ -38409,8 +38385,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *14* arguments[0]
⚠️ function calls are not analysed yet
- *15* l
⚠️ pattern without value
- *15* for-in variable currently not analyzed
- *16* f
⚠️ circular variable reference
......@@ -38424,8 +38399,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown callee object
- *1* arguments[3]
⚠️ function calls are not analysed yet
- *2* l
⚠️ pattern without value
- *2* for-in variable currently not analyzed
- *3* f
⚠️ circular variable reference
- *4* ???*5*["hasOwnProperty"]((???*19* | null | undefined | [] | ???*20*))
......@@ -38468,16 +38442,14 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *18* arguments[0]
⚠️ function calls are not analysed yet
- *19* l
⚠️ pattern without value
- *19* for-in variable currently not analyzed
- *20* f
⚠️ circular variable reference
- *21* ???*22*[(???*23* | null | undefined | [] | ???*24*)]
⚠️ unknown object
- *22* arguments[3]
⚠️ function calls are not analysed yet
- *23* l
⚠️ pattern without value
- *23* for-in variable currently not analyzed
- *24* f
⚠️ circular variable reference
- *25* ???*26*[(???*40* | null | undefined | [] | ???*41*)]
......@@ -38520,8 +38492,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *39* arguments[0]
⚠️ function calls are not analysed yet
- *40* l
⚠️ pattern without value
- *40* for-in variable currently not analyzed
- *41* f
⚠️ circular variable reference
- *42* (???*43* ? ???*44* : ???*46*)
......@@ -38540,8 +38511,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *49* arguments[0]
⚠️ function calls are not analysed yet
- *50* l
⚠️ pattern without value
- *50* for-in variable currently not analyzed
- *51* f
⚠️ circular variable reference
- *52* ???*53*[(???*67* | null | undefined | [] | ???*68*)]
......@@ -38584,8 +38554,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *66* arguments[0]
⚠️ function calls are not analysed yet
- *67* l
⚠️ pattern without value
- *67* for-in variable currently not analyzed
- *68* f
⚠️ circular variable reference
- *69* (???*70* ? (???*85* | ???*90*) : ???*105*)
......@@ -38635,8 +38604,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *87* arguments[0]
⚠️ function calls are not analysed yet
- *88* l
⚠️ pattern without value
- *88* for-in variable currently not analyzed
- *89* f
⚠️ circular variable reference
- *90* ???*91*[(???*103* | null | undefined | [] | ???*104*)]
......@@ -38675,8 +38643,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *102* ...[...]
⚠️ unknown object
- *103* l
⚠️ pattern without value
- *103* for-in variable currently not analyzed
- *104* f
⚠️ circular variable reference
- *105* unsupported expression
......@@ -38685,8 +38652,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *107* arguments[3]
⚠️ function calls are not analysed yet
- *108* l
⚠️ pattern without value
- *108* for-in variable currently not analyzed
- *109* f
⚠️ circular variable reference
- *110* ???*111*[(???*125* | null | undefined | [] | ???*126*)]
......@@ -38729,8 +38695,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *124* arguments[0]
⚠️ function calls are not analysed yet
- *125* l
⚠️ pattern without value
- *125* for-in variable currently not analyzed
- *126* f
⚠️ circular variable reference
- *127* (???*128* ? ???*129* : ???*131*)
......@@ -38745,8 +38710,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ This value might have side effects
4984 -> 4985 conditional = ("style" === (???*0* | null | undefined | [] | ???*1*))
- *0* l
⚠️ pattern without value
- *0* for-in variable currently not analyzed
- *1* f
⚠️ circular variable reference
......@@ -38763,8 +38727,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *2* arguments[0]
⚠️ function calls are not analysed yet
- *3* l
⚠️ pattern without value
- *3* for-in variable currently not analyzed
- *4* f
⚠️ circular variable reference
- *5* ???*6*[(???*20* | null | undefined | [] | ???*21*)]
......@@ -38807,8 +38770,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *19* arguments[0]
⚠️ function calls are not analysed yet
- *20* l
⚠️ pattern without value
- *20* for-in variable currently not analyzed
- *21* f
⚠️ circular variable reference
- *22* (null != (???*23* | ???*25*))
......@@ -38860,8 +38822,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *41* arguments[0]
⚠️ function calls are not analysed yet
- *42* l
⚠️ pattern without value
- *42* for-in variable currently not analyzed
- *43* f
⚠️ circular variable reference
- *44* ???*45*[(???*59* | null | undefined | [] | ???*60*)]
......@@ -38904,8 +38865,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *58* arguments[0]
⚠️ function calls are not analysed yet
- *59* l
⚠️ pattern without value
- *59* for-in variable currently not analyzed
- *60* f
⚠️ circular variable reference
- *61* unsupported expression
......@@ -38925,15 +38885,14 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
| undefined
| (???*22* ? (???*39* | ???*44*) : ???*61*)
| (???*62* ? ???*63* : ???*65*)
)["hasOwnProperty"](???*66*)
)["hasOwnProperty"]((???*66* | ???*67*))
- *0* ???*1*[(???*3* | null | undefined | [] | ???*4*)]
⚠️ unknown object
- *1* ???*2*["memoizedProps"]
⚠️ unknown object
- *2* arguments[0]
⚠️ function calls are not analysed yet
- *3* l
⚠️ pattern without value
- *3* for-in variable currently not analyzed
- *4* f
⚠️ circular variable reference
- *5* ???*6*[(???*20* | null | undefined | [] | ???*21*)]
......@@ -38976,8 +38935,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *19* arguments[0]
⚠️ function calls are not analysed yet
- *20* l
⚠️ pattern without value
- *20* for-in variable currently not analyzed
- *21* f
⚠️ circular variable reference
- *22* (null != (???*23* | ???*25*))
......@@ -39029,8 +38987,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *41* arguments[0]
⚠️ function calls are not analysed yet
- *42* l
⚠️ pattern without value
- *42* for-in variable currently not analyzed
- *43* f
⚠️ circular variable reference
- *44* ???*45*[(???*59* | null | undefined | [] | ???*60*)]
......@@ -39073,8 +39030,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *58* arguments[0]
⚠️ function calls are not analysed yet
- *59* l
⚠️ pattern without value
- *59* for-in variable currently not analyzed
- *60* f
⚠️ circular variable reference
- *61* unsupported expression
......@@ -39089,14 +39045,14 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ This value might have side effects
- *66* g
⚠️ pattern without value
- *67* for-in variable currently not analyzed
4986 -> 4990 member call = (???*0* | ???*4* | undefined | (???*21* ? ???*22* : ???*24*))["hasOwnProperty"](???*25*)
4986 -> 4990 member call = (???*0* | ???*4* | undefined | (???*21* ? ???*22* : ???*24*))["hasOwnProperty"]((???*25* | ???*26*))
- *0* ???*1*[(???*2* | null | undefined | [] | ???*3*)]
⚠️ unknown object
- *1* arguments[3]
⚠️ function calls are not analysed yet
- *2* l
⚠️ pattern without value
- *2* for-in variable currently not analyzed
- *3* f
⚠️ circular variable reference
- *4* ???*5*[(???*19* | null | undefined | [] | ???*20*)]
......@@ -39139,8 +39095,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *18* arguments[0]
⚠️ function calls are not analysed yet
- *19* l
⚠️ pattern without value
- *19* for-in variable currently not analyzed
- *20* f
⚠️ circular variable reference
- *21* k
......@@ -39153,14 +39108,14 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ This value might have side effects
- *25* g
⚠️ pattern without value
- *26* for-in variable currently not analyzed
4986 -> 4993 member call = (???*0* | ???*4* | undefined | (???*21* ? ???*22* : ???*24*))["hasOwnProperty"](???*25*)
4986 -> 4993 member call = (???*0* | ???*4* | undefined | (???*21* ? ???*22* : ???*24*))["hasOwnProperty"]((???*25* | ???*26*))
- *0* ???*1*[(???*2* | null | undefined | [] | ???*3*)]
⚠️ unknown object
- *1* arguments[3]
⚠️ function calls are not analysed yet
- *2* l
⚠️ pattern without value
- *2* for-in variable currently not analyzed
- *3* f
⚠️ circular variable reference
- *4* ???*5*[(???*19* | null | undefined | [] | ???*20*)]
......@@ -39203,8 +39158,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *18* arguments[0]
⚠️ function calls are not analysed yet
- *19* l
⚠️ pattern without value
- *19* for-in variable currently not analyzed
- *20* f
⚠️ circular variable reference
- *21* k
......@@ -39217,6 +39171,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ This value might have side effects
- *25* g
⚠️ pattern without value
- *26* for-in variable currently not analyzed
4986 -> 4999 member call = (null | undefined | [] | ???*0*)["push"](
(???*1* | null | undefined | [] | ???*2*),
......@@ -39224,8 +39179,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
)
- *0* f
⚠️ circular variable reference
- *1* l
⚠️ pattern without value
- *1* for-in variable currently not analyzed
- *2* f
⚠️ circular variable reference
- *3* arguments[2]
......@@ -39234,8 +39188,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *5* arguments[3]
⚠️ function calls are not analysed yet
- *6* l
⚠️ pattern without value
- *6* for-in variable currently not analyzed
- *7* f
⚠️ circular variable reference
- *8* ???*9*[(???*23* | null | undefined | [] | ???*24*)]
......@@ -39278,8 +39231,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *22* arguments[0]
⚠️ function calls are not analysed yet
- *23* l
⚠️ pattern without value
- *23* for-in variable currently not analyzed
- *24* f
⚠️ circular variable reference
- *25* k
......@@ -39292,8 +39244,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ This value might have side effects
4985 -> 5000 conditional = ("dangerouslySetInnerHTML" === (???*0* | null | undefined | [] | ???*1*))
- *0* l
⚠️ pattern without value
- *0* for-in variable currently not analyzed
- *1* f
⚠️ circular variable reference
......@@ -39302,8 +39253,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *1* arguments[3]
⚠️ function calls are not analysed yet
- *2* l
⚠️ pattern without value
- *2* for-in variable currently not analyzed
- *3* f
⚠️ circular variable reference
- *4* ???*5*[(???*19* | null | undefined | [] | ???*20*)]
......@@ -39346,8 +39296,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *18* arguments[0]
⚠️ function calls are not analysed yet
- *19* l
⚠️ pattern without value
- *19* for-in variable currently not analyzed
- *20* f
⚠️ circular variable reference
- *21* k
......@@ -39372,8 +39321,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *2* arguments[0]
⚠️ function calls are not analysed yet
- *3* l
⚠️ pattern without value
- *3* for-in variable currently not analyzed
- *4* f
⚠️ circular variable reference
- *5* ???*6*[(???*20* | null | undefined | [] | ???*21*)]
......@@ -39416,8 +39364,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *19* arguments[0]
⚠️ function calls are not analysed yet
- *20* l
⚠️ pattern without value
- *20* for-in variable currently not analyzed
- *21* f
⚠️ circular variable reference
- *22* (null != (???*23* | ???*25*))
......@@ -39469,8 +39416,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *41* arguments[0]
⚠️ function calls are not analysed yet
- *42* l
⚠️ pattern without value
- *42* for-in variable currently not analyzed
- *43* f
⚠️ circular variable reference
- *44* ???*45*[(???*59* | null | undefined | [] | ???*60*)]
......@@ -39513,8 +39459,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *58* arguments[0]
⚠️ function calls are not analysed yet
- *59* l
⚠️ pattern without value
- *59* for-in variable currently not analyzed
- *60* f
⚠️ circular variable reference
- *61* unsupported expression
......@@ -39534,16 +39479,14 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
)
- *0* unsupported expression
⚠️ This value might have side effects
- *1* l
⚠️ pattern without value
- *1* for-in variable currently not analyzed
- *2* f
⚠️ circular variable reference
- *3* ???*4*[(???*5* | null | undefined | [] | ???*6*)]
⚠️ unknown object
- *4* arguments[3]
⚠️ function calls are not analysed yet
- *5* l
⚠️ pattern without value
- *5* for-in variable currently not analyzed
- *6* f
⚠️ circular variable reference
- *7* ???*8*[(???*22* | null | undefined | [] | ???*23*)]
......@@ -39586,8 +39529,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *21* arguments[0]
⚠️ function calls are not analysed yet
- *22* l
⚠️ pattern without value
- *22* for-in variable currently not analyzed
- *23* f
⚠️ circular variable reference
- *24* k
......@@ -39600,8 +39542,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ This value might have side effects
5000 -> 5007 conditional = ("children" === (???*0* | null | undefined | [] | ???*1*))
- *0* l
⚠️ pattern without value
- *0* for-in variable currently not analyzed
- *1* f
⚠️ circular variable reference
......@@ -39610,8 +39551,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *1* arguments[3]
⚠️ function calls are not analysed yet
- *2* l
⚠️ pattern without value
- *2* for-in variable currently not analyzed
- *3* f
⚠️ circular variable reference
- *4* ???*5*[(???*19* | null | undefined | [] | ???*20*)]
......@@ -39654,8 +39594,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *18* arguments[0]
⚠️ function calls are not analysed yet
- *19* l
⚠️ pattern without value
- *19* for-in variable currently not analyzed
- *20* f
⚠️ circular variable reference
- *21* k
......@@ -39672,8 +39611,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *1* arguments[3]
⚠️ function calls are not analysed yet
- *2* l
⚠️ pattern without value
- *2* for-in variable currently not analyzed
- *3* f
⚠️ circular variable reference
- *4* ???*5*[(???*19* | null | undefined | [] | ???*20*)]
......@@ -39716,8 +39654,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *18* arguments[0]
⚠️ function calls are not analysed yet
- *19* l
⚠️ pattern without value
- *19* for-in variable currently not analyzed
- *20* f
⚠️ circular variable reference
- *21* k
......@@ -39735,16 +39672,14 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
)
- *0* unsupported expression
⚠️ This value might have side effects
- *1* l
⚠️ pattern without value
- *1* for-in variable currently not analyzed
- *2* f
⚠️ circular variable reference
- *3* ???*4*[(???*5* | null | undefined | [] | ???*6*)]
⚠️ unknown object
- *4* arguments[3]
⚠️ function calls are not analysed yet
- *5* l
⚠️ pattern without value
- *5* for-in variable currently not analyzed
- *6* f
⚠️ circular variable reference
- *7* ???*8*[(???*22* | null | undefined | [] | ???*23*)]
......@@ -39787,8 +39722,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *21* arguments[0]
⚠️ function calls are not analysed yet
- *22* l
⚠️ pattern without value
- *22* for-in variable currently not analyzed
- *23* f
⚠️ circular variable reference
- *24* k
......@@ -39801,8 +39735,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ This value might have side effects
5007 -> 5013 member call = {}["hasOwnProperty"]((???*0* | null | undefined | [] | ???*1*))
- *0* l
⚠️ pattern without value
- *0* for-in variable currently not analyzed
- *1* f
⚠️ circular variable reference
......@@ -39814,8 +39747,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ This value might have side effects
- *2* unknown mutation
⚠️ This value might have side effects
- *3* l
⚠️ pattern without value
- *3* for-in variable currently not analyzed
- *4* f
⚠️ circular variable reference
......@@ -39833,16 +39765,14 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
)
- *0* unsupported expression
⚠️ This value might have side effects
- *1* l
⚠️ pattern without value
- *1* for-in variable currently not analyzed
- *2* f
⚠️ circular variable reference
- *3* ???*4*[(???*5* | null | undefined | [] | ???*6*)]
⚠️ unknown object
- *4* arguments[3]
⚠️ function calls are not analysed yet
- *5* l
⚠️ pattern without value
- *5* for-in variable currently not analyzed
- *6* f
⚠️ circular variable reference
- *7* ???*8*[(???*22* | null | undefined | [] | ???*23*)]
......@@ -39885,8 +39815,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *21* arguments[0]
⚠️ function calls are not analysed yet
- *22* l
⚠️ pattern without value
- *22* for-in variable currently not analyzed
- *23* f
⚠️ circular variable reference
- *24* k
......@@ -39910,8 +39839,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *3* arguments[3]
⚠️ function calls are not analysed yet
- *4* l
⚠️ pattern without value
- *4* for-in variable currently not analyzed
- *5* f
⚠️ circular variable reference
- *6* ???*7*[(???*21* | null | undefined | [] | ???*22*)]
......@@ -39954,8 +39882,7 @@ ${(???*50* | ???*51* | undefined | ???*55* | undefined[1] | "")}${(???*59* | ???
⚠️ unknown object
- *20* arguments[0]
⚠️ function calls are not analysed yet
- *21* l
⚠️ pattern without value
- *21* for-in variable currently not analyzed
- *22* f
⚠️ circular variable reference
- *23* k
......@@ -9879,8 +9879,7 @@ c#1019 = ???*0*
⚠️ function calls are not analysed yet
c#102 = (???*0* | "cssFloat")
- *0* c
⚠️ pattern without value
- *0* for-in variable currently not analyzed
c#1023 = ???*0*
- *0* arguments[2]
......@@ -10147,8 +10146,7 @@ c#207 = (
⚠️ This value might have side effects
c#212 = ???*0*
- *0* c
⚠️ pattern without value
- *0* for-in variable currently not analyzed
c#236 = (
| ???*0*
......@@ -10271,9 +10269,10 @@ c#269 = ???*0*
c#270 = {}
c#271 = ???*0*
c#271 = (???*0* | ???*1*)
- *0* c
⚠️ pattern without value
- *1* for-in variable currently not analyzed
c#274 = ???*0*
- *0* arguments[2]
......@@ -10475,8 +10474,7 @@ c#370 = (???*0* | (???*2* ? ???*4* : null)["data"] | undefined)
⚠️ circular variable reference
c#381 = ???*0*
- *0* c
⚠️ pattern without value
- *0* for-in variable currently not analyzed
c#385 = ???*0*
- *0* arguments[2]
......@@ -11747,8 +11745,7 @@ c#639 = (???*0* | null | {} | ???*1* | ???*5* | undefined | (???*22* ? ???*23* :
⚠️ unknown object
- *2* arguments[3]
⚠️ function calls are not analysed yet
- *3* l
⚠️ pattern without value
- *3* for-in variable currently not analyzed
- *4* f
⚠️ circular variable reference
- *5* ???*6*[(???*20* | null | undefined | [] | ???*21*)]
......@@ -11791,8 +11788,7 @@ c#639 = (???*0* | null | {} | ???*1* | ???*5* | undefined | (???*22* ? ???*23* :
⚠️ unknown object
- *19* arguments[0]
⚠️ function calls are not analysed yet
- *20* l
⚠️ pattern without value
- *20* for-in variable currently not analyzed
- *21* f
⚠️ circular variable reference
- *22* k
......@@ -12558,8 +12554,7 @@ d#1018 = ((null != (???*0* | ???*1*)) | ???*3* | null)
d#102 = ((0 === (???*0* | ???*2*)) | undefined)
- *0* ???*1*["indexOf"]("--")
⚠️ unknown callee object
- *1* c
⚠️ pattern without value
- *1* for-in variable currently not analyzed
- *2* "cssFloat"["indexOf"]("--")
⚠️ nested operation
......@@ -15091,8 +15086,7 @@ e#102 = ((???*0* ? "" : ???*3*) | undefined)
⚠️ nested operation
- *5* ???*6*["indexOf"]("--")
⚠️ unknown callee object
- *6* c
⚠️ pattern without value
- *6* for-in variable currently not analyzed
- *7* "cssFloat"["indexOf"]("--")
⚠️ nested operation
- *8* (???*9* | ???*10*)((???*11* | "cssFloat"))
......@@ -15102,8 +15096,7 @@ e#102 = ((???*0* ? "" : ???*3*) | undefined)
⚠️ This value might have side effects
- *10* unknown mutation
⚠️ This value might have side effects
- *11* c
⚠️ pattern without value
- *11* for-in variable currently not analyzed
- *12* node limit reached
⚠️ This value might have side effects
- *13* ???*14*()
......@@ -15588,8 +15581,7 @@ e#320 = (???*0* | undefined)
e#341 = {}
e#345 = ???*0*
- *0* e
⚠️ pattern without value
- *0* for-in variable currently not analyzed
e#354 = ???*0*
- *0* e
......@@ -17508,9 +17500,10 @@ f#311 = ???*0*
- *1* arguments[1]
⚠️ function calls are not analysed yet
f#341 = ???*0*
f#341 = (???*0* | ???*1*)
- *0* f
⚠️ pattern without value
- *1* for-in variable currently not analyzed
f#357 = ((???*0* + (???*1* | ???*2*)) | ???*3*)
- *0* unsupported expression
......@@ -18998,9 +18991,10 @@ g#614 = ???*0*
- *0* arguments[6]
⚠️ function calls are not analysed yet
g#639 = ???*0*
g#639 = (???*0* | ???*1*)
- *0* g
⚠️ pattern without value
- *1* for-in variable currently not analyzed
g#647 = ???*0*
- *0* max number of linking steps reached
......@@ -19515,8 +19509,7 @@ h#639 = (
⚠️ unknown object
- *2* arguments[0]
⚠️ function calls are not analysed yet
- *3* l
⚠️ pattern without value
- *3* for-in variable currently not analyzed
- *4* f
⚠️ circular variable reference
- *5* ???*6*[(???*20* | null | undefined | [] | ???*21*)]
......@@ -19559,8 +19552,7 @@ h#639 = (
⚠️ unknown object
- *19* arguments[0]
⚠️ function calls are not analysed yet
- *20* l
⚠️ pattern without value
- *20* for-in variable currently not analyzed
- *21* f
⚠️ circular variable reference
- *22* (null != (???*23* | ???*25*))
......@@ -19612,8 +19604,7 @@ h#639 = (
⚠️ unknown object
- *41* arguments[0]
⚠️ function calls are not analysed yet
- *42* l
⚠️ pattern without value
- *42* for-in variable currently not analyzed
- *43* f
⚠️ circular variable reference
- *44* ???*45*[(???*59* | null | undefined | [] | ???*60*)]
......@@ -19656,8 +19647,7 @@ h#639 = (
⚠️ unknown object
- *58* arguments[0]
⚠️ function calls are not analysed yet
- *59* l
⚠️ pattern without value
- *59* for-in variable currently not analyzed
- *60* f
⚠️ circular variable reference
- *61* unsupported expression
......@@ -20257,8 +20247,7 @@ k#639 = (???*0* | ???*4* | undefined | (???*21* ? ???*22* : ???*24*))
⚠️ unknown object
- *1* arguments[3]
⚠️ function calls are not analysed yet
- *2* l
⚠️ pattern without value
- *2* for-in variable currently not analyzed
- *3* f
⚠️ circular variable reference
- *4* ???*5*[(???*19* | null | undefined | [] | ???*20*)]
......@@ -20301,8 +20290,7 @@ k#639 = (???*0* | ???*4* | undefined | (???*21* ? ???*22* : ???*24*))
⚠️ unknown object
- *18* arguments[0]
⚠️ function calls are not analysed yet
- *19* l
⚠️ pattern without value
- *19* for-in variable currently not analyzed
- *20* f
⚠️ circular variable reference
- *21* k
......@@ -20647,8 +20635,7 @@ l#601 = ???*0*
⚠️ This value might have side effects
l#639 = (???*0* | null | undefined | [] | ???*1*)
- *0* l
⚠️ pattern without value
- *0* for-in variable currently not analyzed
- *1* f
⚠️ circular variable reference
......
[
ImportedBinding {
esm_reference_index: 1,
export: Some(
"calledA1",
),
ast_path: [
Program(
Module,
),
Module(
Body(
1,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Ident,
),
],
span: 191..199,
in_try: false,
},
Call {
func: Member(
3,
Module(
ModuleValue {
module: "foo",
annotations: ImportAnnotations {
map: {},
},
},
),
Constant(
Str(
Atom(
"calledA1",
),
),
),
),
args: [],
ast_path: [
Program(
Module,
),
Module(
Body(
1,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
],
span: 191..201,
in_try: false,
new: false,
},
Unreachable {
start_ast_path: [
Program(
Module,
),
Module(
Body(
1,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
While,
),
WhileStmt(
Body,
),
Stmt(
Block,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
Return,
),
],
},
Unreachable {
start_ast_path: [
Program(
Module,
),
Module(
Body(
1,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
While,
),
WhileStmt(
Body,
),
Stmt(
Block,
),
],
},
ImportedBinding {
esm_reference_index: 7,
export: Some(
"unreachableA3",
),
ast_path: [
Program(
Module,
),
Module(
Body(
1,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
2,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Ident,
),
],
span: 286..299,
in_try: false,
},
Call {
func: Member(
3,
Module(
ModuleValue {
module: "foo",
annotations: ImportAnnotations {
map: {},
},
},
),
Constant(
Str(
Atom(
"unreachableA3",
),
),
),
),
args: [],
ast_path: [
Program(
Module,
),
Module(
Body(
1,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
2,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
],
span: 286..301,
in_try: false,
new: false,
},
ImportedBinding {
esm_reference_index: 8,
export: Some(
"unreachableB1",
),
ast_path: [
Program(
Module,
),
Module(
Body(
2,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
While,
),
WhileStmt(
Body,
),
Stmt(
Block,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Ident,
),
],
span: 350..363,
in_try: false,
},
Call {
func: Member(
3,
Module(
ModuleValue {
module: "foo",
annotations: ImportAnnotations {
map: {},
},
},
),
Constant(
Str(
Atom(
"unreachableB1",
),
),
),
),
args: [],
ast_path: [
Program(
Module,
),
Module(
Body(
2,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
While,
),
WhileStmt(
Body,
),
Stmt(
Block,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
],
span: 350..365,
in_try: false,
new: false,
},
Unreachable {
start_ast_path: [
Program(
Module,
),
Module(
Body(
2,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
While,
),
WhileStmt(
Body,
),
Stmt(
Block,
),
BlockStmt(
Stmts(
2,
),
),
Stmt(
Return,
),
],
},
Unreachable {
start_ast_path: [
Program(
Module,
),
Module(
Body(
2,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
While,
),
WhileStmt(
Body,
),
Stmt(
Block,
),
],
},
ImportedBinding {
esm_reference_index: 2,
export: Some(
"calledB1",
),
ast_path: [
Program(
Module,
),
Module(
Body(
2,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Ident,
),
],
span: 403..411,
in_try: false,
},
Call {
func: Member(
3,
Module(
ModuleValue {
module: "foo",
annotations: ImportAnnotations {
map: {},
},
},
),
Constant(
Str(
Atom(
"calledB1",
),
),
),
),
args: [],
ast_path: [
Program(
Module,
),
Module(
Body(
2,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
],
span: 403..413,
in_try: false,
new: false,
},
ImportedBinding {
esm_reference_index: 3,
export: Some(
"calledC1",
),
ast_path: [
Program(
Module,
),
Module(
Body(
3,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
While,
),
WhileStmt(
Body,
),
Stmt(
Block,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Ident,
),
],
span: 484..492,
in_try: false,
},
Call {
func: Member(
3,
Module(
ModuleValue {
module: "foo",
annotations: ImportAnnotations {
map: {},
},
},
),
Constant(
Str(
Atom(
"calledC1",
),
),
),
),
args: [],
ast_path: [
Program(
Module,
),
Module(
Body(
3,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
While,
),
WhileStmt(
Body,
),
Stmt(
Block,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
],
span: 484..494,
in_try: false,
new: false,
},
Unreachable {
start_ast_path: [
Program(
Module,
),
Module(
Body(
3,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
While,
),
WhileStmt(
Body,
),
Stmt(
Block,
),
BlockStmt(
Stmts(
2,
),
),
Stmt(
Return,
),
],
},
Unreachable {
start_ast_path: [
Program(
Module,
),
Module(
Body(
3,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
0,
),
),
Stmt(
While,
),
WhileStmt(
Body,
),
Stmt(
Block,
),
],
},
ImportedBinding {
esm_reference_index: 4,
export: Some(
"calledC2",
),
ast_path: [
Program(
Module,
),
Module(
Body(
3,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Ident,
),
],
span: 532..540,
in_try: false,
},
Call {
func: Member(
3,
Module(
ModuleValue {
module: "foo",
annotations: ImportAnnotations {
map: {},
},
},
),
Constant(
Str(
Atom(
"calledC2",
),
),
),
),
args: [],
ast_path: [
Program(
Module,
),
Module(
Body(
3,
),
),
ModuleItem(
Stmt,
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
],
span: 532..542,
in_try: false,
new: false,
},
]
A = (...) => (undefined | FreeVar(undefined))
B = (...) => (undefined | FreeVar(undefined))
C = (...) => (undefined | FreeVar(undefined))
v = arguments[0]
[
(
"A",
Function(
4,
174,
Alternatives {
total_nodes: 3,
values: [
Constant(
Undefined,
),
FreeVar(
"undefined",
),
],
logical_property: None,
},
),
),
(
"B",
Function(
4,
304,
Alternatives {
total_nodes: 3,
values: [
Constant(
Undefined,
),
FreeVar(
"undefined",
),
],
logical_property: None,
},
),
),
(
"C",
Function(
4,
416,
Alternatives {
total_nodes: 3,
values: [
Constant(
Undefined,
),
FreeVar(
"undefined",
),
],
logical_property: None,
},
),
),
(
"v",
Argument(
416,
0,
),
),
]
import {
calledA1,
calledB1,
calledC1,
calledC2,
unreachableA1,
unreachableA2,
unreachableA3,
unreachableB1,
unreachableB2,
unreachableC1,
} from 'foo'
function A() {
calledA1()
while (true) {
return
unreachableA1()
break
unreachableA2()
}
unreachableA3()
}
function B() {
while (true) {
break
unreachableB1()
return
unreachableB2()
}
calledB1()
}
function C(v) {
while (true) {
if (v) {
break
}
calledC1()
return
unreachableC1()
}
calledC2()
}
0 -> 2 call = module<foo, {}>["calledA1"]()
0 -> 3 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 4 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 6 call = module<foo, {}>["unreachableA3"]()
0 -> 8 call = module<foo, {}>["unreachableB1"]()
0 -> 9 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 10 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 12 call = module<foo, {}>["calledB1"]()
0 -> 14 call = module<foo, {}>["calledC1"]()
0 -> 15 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 16 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 18 call = module<foo, {}>["calledC2"]()
A = (...) => (undefined | FreeVar(undefined))
B = (...) => (undefined | FreeVar(undefined))
C = (...) => (undefined | FreeVar(undefined))
v = ???*0*
- *0* arguments[0]
⚠️ function calls are not analysed yet
......@@ -337,6 +337,103 @@
),
],
},
FreeVar {
var: FreeVar(
"b3",
),
ast_path: [
Program(
Script,
),
Script(
Body(
1,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Ident,
),
],
span: 116..118,
in_try: false,
},
Call {
func: FreeVar(
"b3",
),
args: [],
ast_path: [
Program(
Script,
),
Script(
Body(
1,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
],
span: 116..120,
in_try: false,
new: false,
},
FreeVar {
var: FreeVar(
"c1",
......@@ -546,6 +643,103 @@
),
],
},
FreeVar {
var: FreeVar(
"c3",
),
ast_path: [
Program(
Script,
),
Script(
Body(
2,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Ident,
),
],
span: 200..202,
in_try: false,
},
Call {
func: FreeVar(
"c3",
),
args: [],
ast_path: [
Program(
Script,
),
Script(
Body(
2,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
],
span: 200..204,
in_try: false,
new: false,
},
FreeVar {
var: FreeVar(
"d1",
......@@ -755,6 +949,103 @@
),
],
},
FreeVar {
var: FreeVar(
"d3",
),
ast_path: [
Program(
Script,
),
Script(
Body(
3,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Ident,
),
],
span: 275..277,
in_try: false,
},
Call {
func: FreeVar(
"d3",
),
args: [],
ast_path: [
Program(
Script,
),
Script(
Body(
3,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
],
span: 275..279,
in_try: false,
new: false,
},
FreeVar {
var: FreeVar(
"e1",
......@@ -964,6 +1255,103 @@
),
],
},
FreeVar {
var: FreeVar(
"e3",
),
ast_path: [
Program(
Script,
),
Script(
Body(
4,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Ident,
),
],
span: 359..361,
in_try: false,
},
Call {
func: FreeVar(
"e3",
),
args: [],
ast_path: [
Program(
Script,
),
Script(
Body(
4,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
],
span: 359..363,
in_try: false,
new: false,
},
FreeVar {
var: FreeVar(
"f1",
......@@ -1173,6 +1561,103 @@
),
],
},
FreeVar {
var: FreeVar(
"f3",
),
ast_path: [
Program(
Script,
),
Script(
Body(
5,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
CallExpr(
Callee,
),
Callee(
Expr,
),
Expr(
Ident,
),
],
span: 443..445,
in_try: false,
},
Call {
func: FreeVar(
"f3",
),
args: [],
ast_path: [
Program(
Script,
),
Script(
Body(
5,
),
),
Stmt(
Decl,
),
Decl(
Fn,
),
FnDecl(
Function,
),
Function(
Body,
),
BlockStmt(
Stmts(
1,
),
),
Stmt(
Expr,
),
ExprStmt(
Expr,
),
Expr(
Call,
),
],
span: 443..447,
in_try: false,
new: false,
},
FreeVar {
var: FreeVar(
"g1",
......
......@@ -21,8 +21,7 @@ g = (...) => (undefined | FreeVar(undefined))
h = (...) => undefined
x#10 = ???*0*
- *0* x
⚠️ pattern without value
- *0* for-in variable currently not analyzed
x#17 = *arrow function 567*
......
......@@ -179,15 +179,8 @@
(
"x#10",
Unknown {
original_value: Some(
Variable(
(
"x",
#10,
),
),
),
reason: "pattern without value",
original_value: None,
reason: "for-in variable currently not analyzed",
has_side_effects: false,
},
),
......
......@@ -24,98 +24,133 @@
- *0* unreachable
⚠️ This value might have side effects
0 -> 8 free var = FreeVar(c1)
0 -> 8 free var = FreeVar(b3)
0 -> 9 call = ???*0*()
- *0* FreeVar(b3)
⚠️ unknown global
⚠️ This value might have side effects
0 -> 10 free var = FreeVar(c1)
0 -> 11 call = ???*0*()
- *0* FreeVar(c1)
⚠️ unknown global
⚠️ This value might have side effects
0 -> 10 unreachable = ???*0*
0 -> 12 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 11 unreachable = ???*0*
0 -> 13 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 12 free var = FreeVar(d1)
0 -> 14 free var = FreeVar(c3)
0 -> 15 call = ???*0*()
- *0* FreeVar(c3)
⚠️ unknown global
⚠️ This value might have side effects
0 -> 16 free var = FreeVar(d1)
0 -> 13 call = ???*0*()
0 -> 17 call = ???*0*()
- *0* FreeVar(d1)
⚠️ unknown global
⚠️ This value might have side effects
0 -> 14 unreachable = ???*0*
0 -> 18 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 15 unreachable = ???*0*
0 -> 19 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 16 free var = FreeVar(e1)
0 -> 20 free var = FreeVar(d3)
0 -> 17 call = ???*0*()
0 -> 21 call = ???*0*()
- *0* FreeVar(d3)
⚠️ unknown global
⚠️ This value might have side effects
0 -> 22 free var = FreeVar(e1)
0 -> 23 call = ???*0*()
- *0* FreeVar(e1)
⚠️ unknown global
⚠️ This value might have side effects
0 -> 18 unreachable = ???*0*
0 -> 24 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 19 unreachable = ???*0*
0 -> 25 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 20 free var = FreeVar(f1)
0 -> 26 free var = FreeVar(e3)
0 -> 21 call = ???*0*()
0 -> 27 call = ???*0*()
- *0* FreeVar(e3)
⚠️ unknown global
⚠️ This value might have side effects
0 -> 28 free var = FreeVar(f1)
0 -> 29 call = ???*0*()
- *0* FreeVar(f1)
⚠️ unknown global
⚠️ This value might have side effects
0 -> 22 unreachable = ???*0*
0 -> 30 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 23 unreachable = ???*0*
0 -> 31 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 24 free var = FreeVar(g1)
0 -> 32 free var = FreeVar(f3)
0 -> 33 call = ???*0*()
- *0* FreeVar(f3)
⚠️ unknown global
⚠️ This value might have side effects
0 -> 34 free var = FreeVar(g1)
0 -> 25 call = ???*0*()
0 -> 35 call = ???*0*()
- *0* FreeVar(g1)
⚠️ unknown global
⚠️ This value might have side effects
0 -> 26 unreachable = ???*0*
0 -> 36 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 27 free var = FreeVar(g3)
0 -> 37 free var = FreeVar(g3)
0 -> 28 call = ???*0*()
0 -> 38 call = ???*0*()
- *0* FreeVar(g3)
⚠️ unknown global
⚠️ This value might have side effects
0 -> 29 free var = FreeVar(h1)
0 -> 39 free var = FreeVar(h1)
0 -> 30 call = ???*0*()
0 -> 40 call = ???*0*()
- *0* FreeVar(h1)
⚠️ unknown global
⚠️ This value might have side effects
0 -> 31 unreachable = ???*0*
0 -> 41 unreachable = ???*0*
- *0* unreachable
⚠️ This value might have side effects
0 -> 32 free var = FreeVar(h3)
0 -> 42 free var = FreeVar(h3)
0 -> 33 call = ???*0*()
0 -> 43 call = ???*0*()
- *0* FreeVar(h3)
⚠️ unknown global
⚠️ This value might have side effects
......@@ -21,8 +21,7 @@ g = (...) => (undefined | FreeVar(undefined))
h = (...) => undefined
x#10 = ???*0*
- *0* x
⚠️ pattern without value
- *0* for-in variable currently not analyzed
x#17 = (...) => (undefined | FreeVar(undefined))
......
// app/assert.js
export function assert(a, b) {
if (a !== b) {
throw new Error(`Assertion failed: ${a} !== ${b}`)
}
}
// app/page.js
import { assert } from './assert'
function test(src) {
for (;;) {
if (src === '.') {
break
}
return -1
}
assert(1, 1)
}
it('should handle break label in loop', () => {
expect(test('.')).toBeUndefined()
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment