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?
to your account
I can use a function's multiple returns as arguments to another function, but cannot use them as parameters in an initialization.
If it is intended, then the compiling error multiple-value ... in single-value context is misleading, because an array or struct initialization can indeed take multiple values.
multiple-value ... in single-value context
The text was updated successfully, but these errors were encountered:
It's intended. Changed this bug to be for a better compiler error message.
Sorry, something went wrong.
No branches or pull requests