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 doesn't treat several whatever stars in a row correctly in a list smartmatch #500
Comments
From @masak<masak> rakudo: say (1,2,3) ~~ (1,*,*,3) |
From jswitzer@gmail.comOn Wed Dec 17 15:38:07 2008, masak wrote:
If my understanding of how whatever-star works is right, this test isn't (22:16:24) s1n: rakudo: (1,2,3) ~~ (1,*,*,3) Notice the 1 test is checking if a 3 element list against a 4 element |
The RT System itself - Status changed from 'new' to 'open' |
From @masakOn Fri Jan 30 20:20:04 2009, s1n wrote:
I've had similar thoughts when trying to grok the whatever star, and my Currently, one of the established uses of the whatever star in Array Num array contains number *,X,* To me, this establishes that the whatever star also matches zero-width With this logic (that the whatever star matches zero elements), all |
From @jnthnOn Wed Dec 17 15:38:07 2008, masak wrote:
And as of git daa2eea it looks like an ex-bug. Plus added a bunch of tests. Thanks, Jonathan |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#61452 (status was 'resolved')
Searchable as RT61452$
The text was updated successfully, but these errors were encountered: