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

Wrapping subs doesn't work anymore in Rakudo #1917

Closed
p6rt opened this issue Jul 8, 2010 · 5 comments
Closed

Wrapping subs doesn't work anymore in Rakudo #1917

p6rt opened this issue Jul 8, 2010 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 8, 2010

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

Searchable as RT76420$

@p6rt
Copy link
Author

p6rt commented Jul 8, 2010

From @masak

<TiMBuS> hmm. so Sub.wrap isn't working.. it's looking for an
attribute in Sub that
<TiMBuS> is this code copied from alpha that hasn't been fully hooked up again?
<moritz_> rakudo​: (sub f { }).wrap(-> { })
<p6eval> rakudo 894e79​: OUTPUT«No such attribute 'proxy' in class 'Sub' [...]
<TiMBuS> yep thats the one
<moritz_> looks like it, yes
* masak submits rakudobug
<TiMBuS> cur_sub = getattribute self, ['Sub'], 'proxy'
<TiMBuS> no mention of proxy anywhere else in the code..

@p6rt
Copy link
Author

p6rt commented Jul 29, 2010

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

@p6rt
Copy link
Author

p6rt commented Aug 27, 2010

From @masak

<masak> rakudo​: (sub f { }).wrap(-> { })
<p6eval> rakudo 18189a​: ( no output )
<masak> rakudo​: (sub f { }).wrap(-> { say "OH HAI" }); f
<p6eval> rakudo 18189a​: OUTPUT«OH HAI␤»
<masak> seems http://rt.perl.org/rt3/Ticket/Display.html?id=76420 can be closed.
<masak> ...or taken to tests, at least.

@p6rt
Copy link
Author

p6rt commented Aug 28, 2010

From @moritz

These days we run S06-advanced_subroutine_features/wrap.t, which should
provide sufficient coverage.

@p6rt
Copy link
Author

p6rt commented Aug 28, 2010

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

@p6rt p6rt closed this as completed Aug 28, 2010
@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