[perl #63048] Omitted typed named params cause errors in Rakudo

2009-02-11 Thread jn...@jnthn.net via RT
On Fri Feb 06 23:12:31 2009, mberends wrote: > Improving the signal-to-noise ratio of the above, using perl6 -e'...': > > class A {method m(Str :$p){my $p2=$p // "";say "m$p2"}}; A.new.m("HAI") > class A {method m(Str :$p){my $p2=$p // "";say "m$p2"}}; A.new.m() > > The first line works. > The se

[perl #63048] Omitted typed named params cause errors in Rakudo

2009-02-05 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #63048] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=63048 > moritz_: is it a known gotcha that named parameters cause errors if they are typed and