vyperlang / vyper

Pythonic Smart Contract Language for the EVM
https://vyperlang.org
Other
4.91k stars 804 forks source link

Venom bug: `IndexError: list index out of range` #4288

Closed pcaversaccio closed 1 month ago

pcaversaccio commented 1 month ago

Compile vyper src/snekmate/utils/mocks/math_mock.vy --experimental-codegen:

Error compiling: src/snekmate/utils/mocks/math_mock.vy
IndexError: list index out of range

Vyper version used 0.4.1+commit.4845fd48. The regression was introduced via: https://github.com/vyperlang/vyper/commit/fdc05d6029816ef57294e98753d9a3d60c761ab8.