You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Addresses [Issue 1238](rakudo#1238).
This issue was occurring due to the an operation that takes place in the
Hash 'but' method. A cloning of the Hash obj occurs but not all the
attributes are being replicated in the clone.
Mirroring (almost) the logic of the Mu clone method so that all
attributes are replicated on the new clone obj, not just $!storage.
However, unlike in Mu, not cloning the $!storage Scalar container (the
.VAR on the attribute) to avoid causing a regression for the issue fixed
in commit 6b2b34a.
> set-base; ./rakudo-m issues/r1238.raku
(Any)
> set-rakuast; ./rakudo-m issues/r1238.raku
(Any)
> ./rakudo-m -v
Welcome to Rakudo™ v2024.04-92-g24057e69c.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2024.04-6-g84121f0de.
Code:
Result (2015.12,2016.01.1,2016.02):
Result (2016.03…2017.10,HEAD(ab03b54)):
Bisectable points at (2016-03-14) 6b2b34a
.b
always returns 7 (which is right) no matter what version of rakudo you use.The text was updated successfully, but these errors were encountered: