> On 25 Jun 2015, at 09:38, Carl Mäsak (via RT) <perl6-bugs-follo...@perl.org> > wrote: > > # New Ticket Created by "Carl Mäsak" > # Please include the string: [perl #125482] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=125482 > > > > Suggested by yary. > > <masak> m: sub foo($a;; $b) { say "OH HAI" }; foo(1, 2); say &foo.signature > <camelia> rakudo-moar 553f0e: OUTPUT«OH HAI(Any $a, Any $b)» > <masak> arguably, that should say `(Any $a;; Any $b)`, because the > difference affects the behavior of the signature. > * masak submits rakudobug
Looks to me that ($a;;$b) as a signature is NYI, so perhaps we should make it an NYI compile time error in the mean time. At least, I don’t see where that information is currently being kept in the Signature object. Liz