Skip to content
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

issue with $_ inside .grep with Capture #1177

Closed
p6rt opened this issue Jul 27, 2009 · 5 comments
Closed

issue with $_ inside .grep with Capture #1177

p6rt opened this issue Jul 27, 2009 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Jul 27, 2009

Migrated from rt.perl.org#67948 (status was 'resolved')

Searchable as RT67948$

@p6rt
Copy link
Author

p6rt commented Jul 27, 2009

From edpratomo@yahoo.co.id

<edpratomo> rakudo​: ([0, 0], [1, 1]).grep({say .perl; 1});
<p6eval> rakudo 4c31fb​: OUTPUT«0␤1␤»

expected output​: [0,0], [1,1]

@p6rt
Copy link
Author

p6rt commented Jul 28, 2009

From @pmichaud

Now corrected in 53059d. The original problem was that smart matching
arrays against Code objects was acting like smart matching of arrays
against Regex objects.

Ticket probably wants confirmation of a spectest prior to closing.

Thanks!

Pm

@p6rt
Copy link
Author

p6rt commented Jul 28, 2009

@pmichaud - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Apr 10, 2010

From @moritz

Now tested successfully in t/spec/S02-names_and_variables/perl.t.

@p6rt
Copy link
Author

p6rt commented Apr 10, 2010

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Apr 10, 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant