Skip to content

Add support for not in comparator#2232

Merged
iamdefinitelyahuman merged 3 commits into
vyperlang:masterfrom
iamdefinitelyahuman:feat-notin
Nov 28, 2020
Merged

Add support for not in comparator#2232
iamdefinitelyahuman merged 3 commits into
vyperlang:masterfrom
iamdefinitelyahuman:feat-notin

Conversation

@iamdefinitelyahuman

@iamdefinitelyahuman iamdefinitelyahuman commented Nov 27, 2020

Copy link
Copy Markdown
Contributor

What I did

Add support for the not in comparator

Closes #2218

How I did it

  • Added the NotIn ast node
  • Expand the list comparator logic in parser to support not in

How to verify it

Run the tests. I added some new cases to test this behaviour.

Cute Animal Picture

image

Comment thread tests/grammar/vyper.lark
Comment thread vyper/ast/nodes.py Outdated
@iamdefinitelyahuman iamdefinitelyahuman merged commit a222091 into vyperlang:master Nov 28, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the feat-notin branch November 28, 2020 00:07
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.

no support for not in comparator

2 participants