New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.hash on [Bag|Mix][Hash]? types stringifies keys #5513
Comments
From @zoffixznetAs reported in RT#127402, Set.hash stringified keys. That problem has since been fixed, however, zoffix@VirtualBox:~/CPANPRC/rakudo$ cat ../test.p6 is Set.new($(<a b>)).hash.keys[0][0], 'a', 'Set.new'; is SetHash.new($(<a b>)).hash.keys[0][0], 'a', 'SetHash.new'; is Bag.new($(<a b>)).hash.keys[0][0], 'a', 'Bag.new'; is BagHash.new($(<a b>)).hash.keys[0][0], 'a', 'BagHash.new'; is Mix.new($(<a b>)).hash.keys[0][0], 'a', 'Mix.new'; is MixHash.new($(<a b>)).hash.keys[0][0], 'a', 'MixHash.new'; zoffix@VirtualBox:~/CPANPRC/rakudo$ prove -e './perl6-m' -vlr ../test.p6 # Failed test '.Bag' # Failed test 'bag()' # Failed test 'BagHash.new' # got: 'a b' # Failed test '.BagHash' # Failed test 'Mix.new' # Failed test '.Mix' # Failed test 'mix()' # Failed test 'MixHash.new' # Failed test '.MixHash' Test Summary Report ../test.p6 (Wstat: 2560 Tests: 15 Failed: 10) -- |
From @zoffixznet♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥ TODO-fudged tests added in Raku/roast@f434b8168a 🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁🏁 -- |
From @zoffixznetNever mind. Found a simple fix. Fixed in rakudo/rakudo@f1313dbc93 -- |
@zoffixznet - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#128806 (status was 'resolved')
Searchable as RT128806$
The text was updated successfully, but these errors were encountered: