# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #127203]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127203 >


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␤»

Reply via email to