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
Python Version (output of python --version): 3.11.4
What's your issue about?
When Indexing Bytes or String of different length, depending on the order of the elements in the List it can be that the compiler incorrectly fails to type check.
Probably by fixing compare_type for Bytes and Strings.
The text was updated successfully, but these errors were encountered:
trocher
changed the title
TypeMismatch when Indexing Bytes / String of different length TypeMismatch when Indexing Bytes / String of different lengths
Jun 25, 2024
Version Information
vyper --version
): 0.4.0python --version
): 3.11.4What's your issue about?
When Indexing
Bytes
orString
of different length, depending on the order of the elements in theList
it can be that the compiler incorrectly fails to type check.Most likely related to #4079, #3253
h/t @ritzdorf
How can it be fixed?
Probably by fixing
compare_type
for Bytes and Strings.The text was updated successfully, but these errors were encountered: