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
E vyper.exceptions.TypeMismatch: Given reference has type uint256, expected int128
E function 'test_for', line 6:12
E 5 for i in range(MAX_INT128, MAX_INT128+2):
E ---> 6 a = i
E -------------------^
E 7 return a
Version Information
Tested on Remix
What's your issue about?
It appears there is no overflow checking for the loop variables. For example, the code
returns -2**127.
The text was updated successfully, but these errors were encountered: