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
the following code does not compile for me, except if i change the condition of the while loop to something that is not 'true'. I am using the master branch version.
Code:
fncircular_iteration(sizeLog2:u64,mutidx:u64,body:fn(u64,fn())) -> (){let mask = (1u64 << sizeLog2) - 1u64;whiletrue{// this true is triggering the problembody(idx);
idx = (idx + 1u64)& mask;}}fnmain() -> bool{for i incircular_iteration(8u64,42u64){if i == 23u64{break()}thorin_print_long(i asi64);thorin_print_string("\n");}true}
Hi,
the following code does not compile for me, except if i change the condition of the while loop to something that is not 'true'. I am using the master branch version.
Code:
Error Message:
The text was updated successfully, but these errors were encountered: