Jeremy Evans 04eb7c7e46 Call initialize_clone with freeze: false if clone called with freeze: false
This makes it possible to initialize_clone to correctly not freeze
internal state if the freeze: false keyword is passed to clone.

If clone is called with freeze: true or no keyword, do not pass
a second argument to initialize_clone to keep backwards
compatibility.

This makes it so that external libraries that override
initialize_clone but do not support the freeze keyword will fail
with ArgumentError if passing freeze: false to clone.  I think that
is better than the current behavior, which succeeds but results in
an unfrozen object with frozen internals.

Fix related issues in set and delegate in stdlib.

Fixes [Bug #14266]
2020-01-03 20:13:09 -08:00
..
2019-12-20 09:32:42 +09:00
2019-12-20 09:32:42 +09:00
2019-11-12 17:24:48 +09:00
2019-10-01 19:19:56 +09:00
2019-11-18 10:24:38 +09:00
2019-12-01 10:53:59 -08:00
2019-12-31 19:43:36 +09:00
2019-12-30 23:19:31 -08:00
2019-12-22 06:29:52 +09:00
2019-12-17 11:53:30 +09:00