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
In the documentation here: https://docs.raku.org/language/traps#Traps_to_avoid
It gives some sample code of a common problem and suggests changing to @arr.push: ($a.item, $b.item); as a fix. However, that doesn't change anything, the programs output is exactly the same as before.
Changing it to the decontainerize operator: @arr.push: ($a<>, $b<>); does give the desired result.
Edit: maybe the behaviour of .item has changed since the documentation was written, I am using Rakudo™ Star v2024.10. v6.d
The text was updated successfully, but these errors were encountered:
In the documentation here: https://docs.raku.org/language/traps#Traps_to_avoid
It gives some sample code of a common problem and suggests changing to
@arr.push: ($a.item, $b.item);
as a fix. However, that doesn't change anything, the programs output is exactly the same as before.Changing it to the decontainerize operator:
@arr.push: ($a<>, $b<>);
does give the desired result.Edit: maybe the behaviour of .item has changed since the documentation was written, I am using Rakudo™ Star v2024.10. v6.d
The text was updated successfully, but these errors were encountered: