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 doesn't work in hash indexing through a closure in Rakudo #461
Comments
From @masakRakudo r33577 responds strangely to the following program: $ perl6 -e 'my $locator = method { .<here> }; my %h = { here => "foo" I'd expect it to output "foo". |
From @moritzOn Sat Dec 06 14:12:20 2008, masak wrote:
Is it actually specified that an anonymous method should receive the If you say 'self.<here>' instead, the output is 'foo', as I'd expect it. Cheers, |
The RT System itself - Status changed from 'new' to 'open' |
From @masakMoritz (>), Carl (>>):
Yes, here: |
From @moritzOn Sun Dec 07 04:33:27 2008, masak wrote:
Thanks for the pointer, I've turned a similar thing into a test in Moritz |
From @jnthnOn Sun Dec 07 04:33:27 2008, masak wrote:
That doesn't actually say your example should work. It mentions: $locator = { .<here> } Which is a closure, not an anonymous method, and when it does mention Thanks, Jonathan |
From @jnthnOn Fri Feb 13 06:05:01 2009, jnthn@jnthn.net wrote:
TimToady confirmed that in methods we don't $_ := self by default, so Thanks, Jonathan |
@jnthn - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#61106 (status was 'rejected')
Searchable as RT61106$
The text was updated successfully, but these errors were encountered: