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
This is happening because the line x: i32 = l.pop() is compiled into the __main__global_init function, but it should actually be compiled into __main__global_stmts. Because __main__global_init is called before __main__global_stmts.
The text was updated successfully, but these errors were encountered:
I came across this bug while trying to debug #2457.
Look at the code and output of the two cases
Code:
Output:
Code:
Output:
This is happening because the line
x: i32 = l.pop()
is compiled into the__main__global_init
function, but it should actually be compiled into__main__global_stmts
. Because__main__global_init
is called before__main__global_stmts
.The text was updated successfully, but these errors were encountered: