Skip to content

Commit

Permalink
fix variable reference
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Apr 22, 2024
1 parent 807c665 commit 933baf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/codegen/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def _getelemptr_abi_helper(parent, member_t, ofst, clamp_=True):
bound = parent_abi_t.size_bound()
ofst_ir = [
"seq",
check_buffer_overflow_ir(abi_ofst, member_abi_t.size_bound(), bound),
check_buffer_overflow_ir(ofst_ir, member_abi_t.size_bound(), bound),
add_ofst(parent, abi_ofst),
]
ofst_ir = b1.resolve(ofst_ir)
Expand Down

0 comments on commit 933baf3

Please sign in to comment.