Skip to content

Fix abi tuple return for lists#1838

Merged
fubuloubu merged 1 commit into
vyperlang:masterfrom
charles-cooper:fix_avo
Jan 25, 2020
Merged

Fix abi tuple return for lists#1838
fubuloubu merged 1 commit into
vyperlang:masterfrom
charles-cooper:fix_avo

Conversation

@charles-cooper

@charles-cooper charles-cooper commented Jan 24, 2020

Copy link
Copy Markdown
Member

What I did

Fix #1409. list-inside-tuple returns were mostly fixed in #1723 but this was a lingering bug. This also fixes #955 .

How I did it

add_variable_offset expects the index to have a vyper type.

How to verify it

check that the example in #1409 compiles.

Description for the changelog

Fix returning of lists within tuples

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

add_variable_offset expects the index to have a vyper type.
@fubuloubu fubuloubu merged commit 1354cce into vyperlang:master Jan 25, 2020
@jacqueswww

Copy link
Copy Markdown
Contributor

Cool!

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.

Return tuple with fixed array fails to compile Functions, Exception: ("Can't return type %s as part of tuple", <class 'vyper.types.types.ListType'>)

4 participants