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
vyper Version (output of vyper --version): 95bf73f
OS: linux
Python Version (output of python --version): 3.10.8
What's your issue about?
In vyper/semantics/analysis/local.py, the visit_For function can be improved by converting to a set() for literal arrays to prevent duplicates due to both SArrayT and DArrayT being present for the same base types.
The text was updated successfully, but these errors were encountered:
charles-cooper
changed the title
chore: improve typechecking of literal arrays as iterator in a for loop
[chore] improve typechecking of literal arrays as iterator in a for loop
May 23, 2023
Version Information
vyper --version
): 95bf73fpython --version
): 3.10.8What's your issue about?
In
vyper/semantics/analysis/local.py
, thevisit_For
function can be improved by converting to aset()
for literal arrays to prevent duplicates due to bothSArrayT
andDArrayT
being present for the same base types.h/t @trocher @ptrcarta
How can it be fixed?
Fill this in if you know how to fix it.
The text was updated successfully, but these errors were encountered: