Skip to content

Fix: use of calldata array with in comparator#2070

Merged
fubuloubu merged 2 commits into
vyperlang:masterfrom
iamdefinitelyahuman:calldata-in-comparator
Jun 29, 2020
Merged

Fix: use of calldata array with in comparator#2070
fubuloubu merged 2 commits into
vyperlang:masterfrom
iamdefinitelyahuman:calldata-in-comparator

Conversation

@iamdefinitelyahuman

Copy link
Copy Markdown
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