# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #128783] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=128783 >
my $m = method ($a: $b){}; say $m ~~ :($a: $b);
# OUTPUT«===SORRY!=== Error while compiling <tmp>Can only use the : invocant
marker in the signature for a methodat <tmp>:1------> method ($a: $b){}; say
$m ~~ :($a: $b⏏); expectig any of: constraint»
# expected output:
True
