Skip to content

Commit

Permalink
restrict to writes
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Feb 21, 2025
1 parent 0cd928f commit 2a47f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/codegen/stmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def parse_AugAssign(self):
if var.typ._is_prim_word:
continue
# oob - GHSA-4w26-8p97-f4jp
if var in right.referenced_variables or right.contains_risky_call:
if var in right.variable_writes or right.contains_risky_call:
raise CodegenPanic("unreachable")

with target.cache_when_complex("_loc") as (b, target):
Expand Down

0 comments on commit 2a47f81

Please sign in to comment.