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
[BUG w/ tests] package A { our %h; %h{'A'} = 2 } Method 'at_key' not found - package A { our %h = ('A' => 2) } Method 'STORE' not found #2547
Comments
From @ronaldxsIn both cases if you change the "our" to a "my" the problem goes away. See on IRC: http://irclog.perlgeek.de/perl6/2011-11-03#i_4657161 UncleFester6 rakudo: package A { our %h; %h{'A'} = 2 } |
From @diakopterOn Thu Nov 03 12:52:02 2011, ronaldxs wrote:
works now. marking testneeded. 18:41 <diakopter> rakudo: package A { our %h; %h{'A'} = 2 } |
The RT System itself - Status changed from 'new' to 'open' |
From @ronaldxs
The first example works but the second still does not AFAICT - our %h = I pointed out another related problem on IRC yesterday evening here UncleFester6 r: my %m; our %o; %m{2} = 4; %o{3} = 6; say %m; say %o; jnthn++ later agrees that the last output should not be different from So still some work in the area and could be more than one test needed. Ron |
From @ronaldxsA bit more on this ticket after an IRC discussion: http:// 19:26 UncleFester6 r: our @a; say @a.perl; our %h; say %h.perl As moritz++ suggests later in the discussion the evaluation of @a.perl Also the observation leads to new variations on the bug: 19:54 UncleFester6 r: our @a; my $x = shift @a; $ ./perl6 -e 'our %h; say values %h' These indicate that even if "our %h; %h{'A'} = 2" doesn't break right Finally moritz noticed that there is another ticket covering the second Ron |
From @FROGGSAdded tests: Raku/roast@8c3db86165 |
From @FROGGSFixed: |
@FROGGS - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#102876 (status was 'resolved')
Searchable as RT102876$
The text was updated successfully, but these errors were encountered: