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

Bogus error about placeholder variables when %_ is flattened inside a method in Rakudo #1616

Closed
p6rt opened this issue Mar 29, 2010 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 29, 2010

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

Searchable as RT73892$

@p6rt
Copy link
Author

p6rt commented Mar 29, 2010

From @masak

<m<masak> rakudo​: class A { method f(*%_) { |%_ } }'
<p6eval> rakudo 534afd​: OUTPUT«Placeholder variables cannot be used in
a method [...]
<jnthn> That's certainly a bug
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Apr 4, 2010

From @jnthn

On Mon Mar 29 09​:26​:52 2010, masak wrote​:

<m<masak> rakudo​: class A { method f(*%_) { |%_ } }'
<p6eval> rakudo 534afd​: OUTPUT«Placeholder variables cannot be used in
a method [...]
<jnthn> That's certainly a bug
* masak submits rakudobug

Now fixed; given to moritz++ for tests.

Jonathan

@p6rt
Copy link
Author

p6rt commented Apr 4, 2010

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Apr 5, 2010

From @moritz

Right now it only works with explicitly declared %_, the implicit one
still throws the same error.

Tests for both cases are now in t/spec/S12-methods/instance.t

@p6rt
Copy link
Author

p6rt commented Oct 8, 2011

From @moritz

Tests and expanded and labeled, closing ticket.

@p6rt
Copy link
Author

p6rt commented Oct 8, 2011

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

@p6rt p6rt closed this as completed Oct 8, 2011
@p6rt p6rt added the Bug 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