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

slurpy is copy array with capture hits a weird code path #5489

Closed
p6rt opened this issue Jul 27, 2016 · 2 comments
Closed

slurpy is copy array with capture hits a weird code path #5489

p6rt opened this issue Jul 27, 2016 · 2 comments
Labels
glr NYI Features not yet implemented

Comments

@p6rt
Copy link

p6rt commented Jul 27, 2016

Migrated from rt.perl.org#128744 (status was 'new')

Searchable as RT128744$

@p6rt
Copy link
Author

p6rt commented Jul 27, 2016

From @zoffixznet

When you have a sub with a slurpy array that's marked as `is copy` and also a Capture in a signature, you get this weird error​:

<Zoffix> m​: sub (*@​x is copy, |c) { }( 42 )
<camelia> rakudo-moar aada71​: OUTPUT«replace this Array is copy logic␤ in sub at <tmp> line 1␤ in block <unit> at <tmp> line 1␤␤»

--
Cheers,
ZZ | https://twitter.com/zoffix

@p6rt p6rt added glr NYI Features not yet implemented labels Jan 5, 2020
@raiph
Copy link

raiph commented Mar 26, 2023

Works since 2017.11.

@raiph raiph closed this as completed Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
glr NYI Features not yet implemented
Projects
None yet
Development

No branches or pull requests

2 participants