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

Making sure 'set' produces a truly immutable object #2

Merged
merged 1 commit into from
Aug 14, 2013

Conversation

dfellis
Copy link
Contributor

@dfellis dfellis commented Aug 14, 2013

I've tried to make the change as minimally invasive as possible, but please feel free to alter the code to your style, because some things (like the keys-filter-forEach one-liner) look kinda ugly but work.

All of the tests are now passing and it's impossible to alter a set!

…ple of places where mutation was being used in the library.
bebraw added a commit that referenced this pull request Aug 14, 2013
Make sure 'set' produces a truly immutable object
@bebraw bebraw merged commit caf8aff into bebraw:master Aug 14, 2013
@bebraw
Copy link
Owner

bebraw commented Aug 14, 2013

Thanks again!

@dfellis
Copy link
Contributor Author

dfellis commented Aug 14, 2013

Happy to help. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants