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
Support tuple assign #605
Comments
Talked with @DavidKnott, this might actually be that Viper doesn't support:
What's the suggested pattern for doing something like this? |
@jonchoi I think it makes sense to consider adding support for:
Down the road |
@jonchoi at the point in time, it was decided to only support returning tuple (to stay compatible with solidity contracts that do the same). +1 for adding support for tuple assignment (I really like it from python hehe). |
Assignment to tuple is now supported 😄 |
Can't return
(num, num, bytes)
withoutbytes
being limited, but can't returnbytes < 1024
as part of a tuple.This is related to the discussion on structs / tuples (#602)
The text was updated successfully, but these errors were encountered: