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
When I put it in to comments as the link above shows, the "render" function runs normally.
When I remove the comment marks from only Line 61 and Line 66, "render" function keeps being executed.
But the array "split_by_or" only has 2 items.
I tried for a couple minutes to get the code snippet running but gave up. No idea what the inputs are supposed to be, but when I throw something random at it it explodes due to accessing arrays out of bounds, which doesn't look like a compiler issue.
Suggesting to distill this down to something more easily reproducible, removing any code that isn't strictly necessary to trigger the issue.
Activity
dcodeIO commentedon Mar 30, 2020
I tried for a couple minutes to get the code snippet running but gave up. No idea what the inputs are supposed to be, but when I throw something random at it it explodes due to accessing arrays out of bounds, which doesn't look like a compiler issue.
Suggesting to distill this down to something more easily reproducible, removing any code that isn't strictly necessary to trigger the issue.
togekk1 commentedon Mar 30, 2020
It turned out that I used the mutable variable "j" twice in Line 40 and Line 61. After rename the latter to "k" everything works now.
Writing the same code in Javascript it showed the same result. My bad. Closing this issue now