edwadli / note-hashtag

3 stars 0 forks source link

Disable array assignment? #108

Closed kevin1 closed 8 years ago

kevin1 commented 8 years ago

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 commented 8 years ago

agreed

kevin1 commented 8 years ago

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