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

Fixing operator form for 'grep' and 'first' #96

Closed
p6rt opened this issue May 23, 2008 · 5 comments
Closed

Fixing operator form for 'grep' and 'first' #96

p6rt opened this issue May 23, 2008 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented May 23, 2008

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

Searchable as RT54740$

@p6rt
Copy link
Author

p6rt commented May 23, 2008

From @bacek

Hello.

Operator form of 'grep' and 'first' incorrectly uses :slurpy for List.
Small patch attached.

--
Bacek.

@p6rt
Copy link
Author

p6rt commented May 23, 2008

From @bacek

oper.diff
Index: src/classes/List.pir
===================================================================
--- src/classes/List.pir	(revision 27774)
+++ src/classes/List.pir	(working copy)
@@ -1092,7 +1146,7 @@
 
 .sub grep :multi(_,'List')
     .param pmc test
-    .param pmc list :slurpy
+    .param pmc list
 
     .return list.'grep'(test)
 .end
@@ -1107,7 +1161,7 @@
 
 .sub first :multi(_,'List')
     .param pmc test
-    .param pmc list :slurpy
+    .param pmc list
 
     .return list.'first'(test)
 .end

@p6rt
Copy link
Author

p6rt commented Jun 13, 2008

From @pmichaud

Fixed in r28078, thanks!

Pm

1 similar comment
@p6rt
Copy link
Author

p6rt commented Jun 13, 2008

From @pmichaud

Fixed in r28078, thanks!

Pm

@p6rt
Copy link
Author

p6rt commented Jun 13, 2008

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

@p6rt p6rt closed this as completed Jun 13, 2008
@p6rt p6rt added the patch label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant