Skip Menu |
Report information
Id: 127203
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at] zoffix.com
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [BUG] &?ROUTINE cannot be used in subroutine's signature
Download (untitled) / with headers
text/plain 407b
As can be seen below, using &?ROUTINE in the signature does not give the correct thing and .name method returns an empty string. IRC conversation here: http://irclog.perlgeek.de/perl6/2016-01-07#i_11848520 <Zoffix> m: sub foo ($r = &?ROUTINE){ say $r.name }; foo() <camelia> rakudo-moar ed6ec7: OUTPUT«␤» <Zoffix> m: sub foo { say &?ROUTINE.name }; foo() <camelia> rakudo-moar ed6ec7: OUTPUT«foo␤»


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org