Actions
Feature #13984
closedBigDecimal should be immutable/frozen and return itself on #dup
Feature #13984:
BigDecimal should be immutable/frozen and return itself on #dup
Description
Actions
Added by Eregon (Benoit Daloze) about 8 years ago. Updated almost 7 years ago.
Description
I decided to make a BigDecimal is frozen and remove dup-support.
But it introduces incompatibilities, so during Ruby 2.5 period, I'll make them deprecated and issue warning messages.
The corresponding issue in GitHub: https://github.com/ruby/bigdecimal/issues/84
Fixed in r66222