-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Multiply return values not supported. #42
Comments
sorry I can't understand the problem. So your example is working now. you have a and b in return data. could you please rephrase your question |
Sorry, I've probably missed something, but what is the syntax of calling such function and obtaining In my mind it should be something like
but that doesn't work |
ah, sure. unfortunately now you still can't do that, but you can return struct from internal function(don't forget to add "internal" specifier before "returns"). |
solc compiles the following:
But no ways to get both
a
andb
from return data. That feature would be very handy in absence of Struct returns.The text was updated successfully, but these errors were encountered: