Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Issue 77: [1,2,3] should default to an ArrayList instead of an unmodifiable list #126

Closed
consiliens opened this Issue Aug 26, 2011 · 2 comments

Comments

Projects
None yet
3 participants
Member

woodie commented Feb 5, 2013

Having the array literal create an immutable data structure has always been a problem for me. I know @headius wants to follow the lead from Java 7, but I thick we should instead embrace the simplicity of Ruby in this case.

I would propose, as a general rule, that literals create mutable data structures in Mirah.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment