We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
type SomeType1 = object SomeType2 = object Example = tuple [some1: SomeType1, some2: SomeType2] proc foo(): Example = (SomeType1(), SomeType2()) var (sas, ses) = foo()
For better readability, I would like to be able to type variables when tuple is used as a multiple return
var (sas: SomeType1, ses: SomeType2) = foo()
The text was updated successfully, but these errors were encountered:
type annotations for variable tuple unpacking, better error messages
e22ac3f
closes nim-lang#17989, closes nim-lang/RFCs#339
type annotations for variable tuple unpacking, better error messages (#…
ba158d7
…22611) * type annotations for variable tuple unpacking, better error messages closes #17989, closes nim-lang/RFCs#339 * update grammar * fix test
3911c90
…22611) * type annotations for variable tuple unpacking, better error messages closes #17989, closes nim-lang/RFCs#339 * update grammar * fix test (cherry picked from commit ba158d7)
Successfully merging a pull request may close this issue.
Summary
For better readability, I would like to be able to type variables when tuple is used as a multiple return
The text was updated successfully, but these errors were encountered: