# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #128742] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=128742 >
sub f(&c:(T), ::T @l){}; # OUTPUT«===SORRY!=== Error while compiling <tmp>Invalid typename 'T' in parameter declaration.at <tmp>:1------> sub f(&c:(T⏏), @l){};» # expected same as: sub f(::T @l, &c:(T)){}; # also note: sub f(&c:(::T $), T @l){}; # OUTPUT«===SORRY!=== Error while compiling <tmp>Invalid typename 'T' in parameter declaration.at <tmp>:1------>sub f(&c:(::T), T⏏@l){};»