Skip to content
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

Tuple unpacking outside of var/let block #2421

Closed
def- opened this issue Mar 27, 2015 · 1 comment
Closed

Tuple unpacking outside of var/let block #2421

def- opened this issue Mar 27, 2015 · 1 comment
Labels

Comments

@def-
Copy link
Member

def- commented Mar 27, 2015

This would be nice to have:

proc myfunc: (int, int) = (1, 2)
var x, y: int
(x, y) = myfunc()
@def-
Copy link
Member Author

def- commented Feb 7, 2016

Works with current compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants