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
It is strange how the byte variable on the "After" print is changing but it keeps its original value in the "Before" print. On every iteration cycle it takes a copy from the original argument but the second print it seems to be a value that was copied only once and is changed with every cycle.
When we assign byte to our own variable before the loop then everything looks good and the return value is also correct:
Bug description
this code:
outputs:
It is strange how the
byte
variable on the "After" print is changing but it keeps its original value in the "Before" print. On every iteration cycle it takes a copy from the original argument but the second print it seems to be a value that was copied only once and is changed with every cycle.When we assign
byte
to our own variable before the loop then everything looks good and the return value is also correct:System information
The text was updated successfully, but these errors were encountered: