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
something weird is going on with object hashes and mixed-in objects in Rakudo #2660
Comments
From @masak<sorear> rakudo: my $r1 = role { method foo() { 5 } }; my $r2 = role { |
From @usev6Current behaviour: $ perl6-m -e 'my $r1 = role { method foo() { 5 } }; my $r2 = role { method foo() { 7 } }; my %hash{Any}; %hash{"quux" but $r1} = 9; %hash{"quux" but $r2} = 11; say %hash.keys>>.foo' Is that the expected answer? |
1 similar comment
From @usev6Current behaviour: $ perl6-m -e 'my $r1 = role { method foo() { 5 } }; my $r2 = role { method foo() { 7 } }; my %hash{Any}; %hash{"quux" but $r1} = 9; %hash{"quux" but $r2} = 11; say %hash.keys>>.foo' Is that the expected answer? |
@usev6 - Status changed from 'new' to 'open' |
@diakopter - Status changed from 'open' to 'resolved' |
From @usev6I added a test to S09-hashes/objecthash.t with commit Raku/roast@92543e196c |
Migrated from rt.perl.org#111498 (status was 'resolved')
Searchable as RT111498$
The text was updated successfully, but these errors were encountered: