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

For loop iterating over list with named keys #6

Open
uiri opened this issue Apr 8, 2014 · 1 comment
Open

For loop iterating over list with named keys #6

uiri opened this issue Apr 8, 2014 · 1 comment
Labels

Comments

@uiri
Copy link
Owner

uiri commented Apr 8, 2014

There is for loop iteration syntax like so:

for( i: list, {
    -- do something with list
})

Currently this iterates over the number keyed elements of list and doesn't touch the name keyed elements.

An empty list also currently causes a segfault.

@uiri uiri added bug labels Apr 8, 2014
@uiri
Copy link
Owner Author

uiri commented Apr 8, 2014

c9c6ed8 fixes the segmentation fault. Both in for and those uncovered elsewhere in the code base caused by the same error.

@uiri uiri removed the bug label Apr 8, 2014
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

1 participant