You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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){};»
Migrated from rt.perl.org#128742 (status was 'open')
Searchable as RT128742$
The text was updated successfully, but these errors were encountered: