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
Rakudo can't iterate on a Match object #739
Comments
From @masak<moritz_> rakudo: rule w { . }; 'a' ~~ m/<w>/; for %($/<w>).kv {} |
From @pmichaudOn Mon, Mar 02, 2009 at 08:33:16AM -0800, Carl Mäsak wrote:
While I agree that the error message is likely incorrect -- I'm not Pm |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzOn Mon Mar 02 16:26:59 2009, pmichaud wrote:
It does, and it actually works. The example is bogus; the example above I have no idea what an empty for-loop is supposed to return (a Nil? Cheers, |
From @pmichaudRakudo now does the right thing with iterating the match object: > 'a' ~~ /<alpha>/; for %($<alpha>) { }; say "done"; Assigning to moritz for spectesting. Pm |
From @moritz%($something_matchy) now returns a proper Perl 6 hash (which is tested), |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#63606 (status was 'resolved')
Searchable as RT63606$
The text was updated successfully, but these errors were encountered: