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

Disable array assignment? #108

Closed
kevin1 opened this issue Dec 1, 2015 · 2 comments
Closed

Disable array assignment? #108

kevin1 opened this issue Dec 1, 2015 · 2 comments

Comments

@kevin1
Copy link
Collaborator

kevin1 commented Dec 1, 2015

All of our functions in #107 will return a copy because arrays are passed by value. Might as well get rid of the last way we can change an array in place.

@edwadli
Copy link
Owner

edwadli commented Dec 2, 2015

agreed

@kevin1 kevin1 removed the question label Dec 3, 2015
@kevin1
Copy link
Collaborator Author

kevin1 commented Dec 3, 2015

Array assignment is already not allowed because the LHS of an assignment must be var_reference. We totally planned it like that!

@kevin1 kevin1 closed this as completed Dec 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants