You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But, because we treat a.length to possibly be a side-effecty getter and not computing side-effects between defn of b and usage of b (yet) (#221) , we are not able to safely replace it.
Apologies for the fancy bug title but I couldn't think of any more descriptive one.
I've managed to isolate a series of issues in a single snippet that fails with babili
0.0.11
Despite being useless, it's valid JS syntax that's part of the real-world logic I am using.
How to make above snippet not to fail?
Please note the following is a list of OR conditions.
Each point itself will change the result, making babili happy.
do ; while(false);
insteadinfo
constant and return directlyreturn {args};
info
butreturn {args};
insteadif (i) {
insteadargs.length
andlet i = 1;
while(false)
lineif (false);
instead ofwhile (false);
Thanks in advance for figuring out how come such little snippets can produce so many failures/not-failures scenarios.
The text was updated successfully, but these errors were encountered: