-
Notifications
You must be signed in to change notification settings - Fork 21
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
Recursive arrays #25
Comments
Wow that's thorny. I'm guessing you're talking about something like: (let r [ r ] ) is that correct? |
Yep. Or worse, if you somehow end up with value.data.arr[i] == value, not just a variable with a value of value. |
Here is one such bug:
WARNING: this will run until it gobbles up all memory available, then crash. |
Three options as to how to deal with this:
Personally, I'd lean towards 3. Your thoughts? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This messes all sorts of things up - it's entirely possible to end up with an array that has itself as a member. (Not just as a variable!)
Among the things messed up:
Should this be forbidden, or should this be supported?
The text was updated successfully, but these errors were encountered: