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
I've been trying to reproduce a simpler example however not able to reproduce. The source that I have i quite complex which I'm trying to find the pattern that causes it.
Similar to #496 there is no error but produces a wrong result due to the if condition is not met.
My initial suspect was the if condition was wrongly replaced.
Activity
sanex3339 commentedon Feb 3, 2020
And what is wrong?
sanex3339 commentedon Feb 3, 2020
If you worried about different indexes for string array calls, it is ok, because
shuffleStringArrayoption is enabled.sanex3339 commentedon Feb 3, 2020
For example, i tested with the following code:
And everything is ok. Order of logs is correct:
'foo', 'bar', 'baz'beeing commentedon Feb 3, 2020
Thanks for the quick reply. Actually you need to add the if before the console.log.
It is ok if it does not break anything but for my case, it broke my tests.
There are no errors but the code after the if is not executed.
sanex3339 commentedon Feb 3, 2020
Can you show me a standalone small example, that is worked before obfuscation and does not work after?
Because even with a condition, the following code works fine for me:
sanex3339 commentedon Feb 4, 2020
The problem looks the same as here:
#496
Can you try to search for a minimum standalone example that will reproduce this error?
Also, try to disable
shuffleStringArray. Will it help? If not, set all options tofalseand try againbeeing commentedon Feb 4, 2020
I've been trying to reproduce a simpler example however not able to reproduce. The source that I have i quite complex which I'm trying to find the pattern that causes it.
Similar to #496 there is no error but produces a wrong result due to the if condition is not met.
My initial suspect was the if condition was wrongly replaced.
sanex3339 commentedon Feb 4, 2020
Try to play with options as I said before. We should find as many hints as possible
beeing commentedon Feb 4, 2020
I've turned off every as below and still having wrong results.
If you want, I can email you a sample as my code and the result.
sanex3339 commentedon Feb 4, 2020
It will be nice! Send it on sanex3339 a t yandex.ru
beeing commentedon Feb 4, 2020
Finally, found the issue here:
The
{ missing }is renamed but the outside calling function is still using the same signature.sanex3339 commentedon Feb 4, 2020
Nice!
sanex3339 commentedon Feb 4, 2020
PR with the fix #544
sanex3339 commentedon Feb 4, 2020
Please, try 0.24.5 version
sanex3339 commentedon Feb 4, 2020
Reopened until approve from your side
sanex3339 commentedon Feb 5, 2020
It was fixed there:
#496
So expect that it was fixed here too
sanex3339 commentedon Feb 5, 2020
Comment here if this problem will happen again
beeing commentedon Feb 5, 2020
Yes. Just tested and it looks good so far. Thanks for the quick fixes!
sanex3339 commentedon Feb 5, 2020
Nice! Thank you for investigating the problem