Skip to content

simplify list return type check#1797

Merged
fubuloubu merged 1 commit into
vyperlang:masterfrom
iamdefinitelyahuman:list-return-type
Jan 6, 2020
Merged

simplify list return type check#1797
fubuloubu merged 1 commit into
vyperlang:masterfrom
iamdefinitelyahuman:list-return-type

Conversation

@iamdefinitelyahuman

Copy link
Copy Markdown
Contributor

What I did

Simplify the type check when returning lists - closes #1691

How I did it

Copypasta

How to verify it

Run tests.

Cute Animal Picture

image

@fubuloubu fubuloubu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird that it was like that

@fubuloubu

Copy link
Copy Markdown
Contributor

Looks like @jacqueswww added in #533. Waiting on his 👍

Comment thread vyper/parser/stmt.py Outdated

@charles-cooper charles-cooper left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this is good. waiting on @jacqueswww in case there's any odd edge cases here.

@jacqueswww

jacqueswww commented Jan 6, 2020

Copy link
Copy Markdown
Contributor

This was before we could easily do direct comparisons of the type classes easily; so all good ✔️

@fubuloubu fubuloubu merged commit 21ad2f3 into vyperlang:master Jan 6, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the list-return-type branch January 6, 2020 15:16
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.

Possible simplification for list return type checking

4 participants