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
What should be returned by the .keys method for Match invocants? #2054
Comments
From eric.hodges@gmail.comuse v6; rule test {test}; "test" ~~ /<test>/; # outputs Same could be said for .values and .kv It would be very DWIM for it to act like a hash in these cases by default. |
From @cokeOn Tue Jan 20 12:58:20 2009, eric256 wrote:
Here's a slightly updated version: $ more foo.p6 our rule test {test}; "test" ~~ /(<&test>)/; $ ./perl6 foo.p6 -- |
The RT System itself - Status changed from 'new' to 'open' |
From @cognominalI edited my garbled sentences. [15:28:22] <cognominal> I know that a match is both an array and a -- |
From @FROGGSTimToady: a Match object should return both array and hash keys in the |
The RT System itself - Status changed from 'new' to 'open' |
From @MouqThis appears to have been a resolved issue for some time, both in spec and in implementation. I've added a test in Roast commit: commit bb73feaaa6bdd3d0a89a701552c7e4ca5e41a2f4 Add test for RT #77146 Marking this ticket as resolved :) On Sat May 11 01:13:10 2013, FROGGS.de wrote:
|
@Mouq - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#77146 (status was 'resolved')
Searchable as RT77146$
The text was updated successfully, but these errors were encountered: