hamstergem / hamster

Efficient, Immutable, Thread-Safe Collection classes for Ruby
Other
1.89k stars 95 forks source link

added specs to isolate the bug; only associable_spec fails #207

Closed Bill closed 8 years ago

Bill commented 8 years ago

Here are specs to try and isolate #206. I found this bug in version 2, but I have verified it's also a problem in version 1.

alexdowad commented 8 years ago

Thanks, but this is known and expected behavior, not a bug. As the documentation states:

While Hamster collections are immutable, you can still mutate objects stored in them. We recommend that you don't do this, unless you are sure you know what you are doing.