Closed trueadm closed 5 years ago
Given this test case we run into an invariant:
invariant
function fn2() { var x = function() {}; return function() { return x }; } function fn(x) { var arr = Array.from(x); return arr.map(function () { if (x) { return fn2(); } else { return null; } }); } __optimize(fn);
Given this test case we run into an
invariant
: