Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: use of calldata array with in comparator #2070

Merged

Conversation

iamdefinitelyahuman
Copy link
Contributor

What I did

Support calldata arrays with the in comparator - fixes #1904

How I did it

Expand logic in parser/expr.py to also handle calldata.

How to verify it

Run tests. I added a test case.

Cute Animal Picture

image

@fubuloubu fubuloubu merged commit accc4f7 into vyperlang:master Jun 29, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the calldata-in-comparator branch July 4, 2020 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In comparator fails when array is in calldata
2 participants