[perl #74326] [BUG] LTA error message when passing the invocant parameter as a named argument in Rakudo

2012-05-27 Thread Will Coleda via RT
On Tue Apr 13 03:05:56 2010, masak wrote: > rakudo: class A { method foo($bar:) { say $bar.WHAT } }; > A.new.foo( :bar(42) ) > rakudo b9aaa3: OUTPUT�Too many positional parameters passed; > got 1 but expected 1 [...] > * masak submits LTA rakudobug > > It's questionable whether an invocant can b

[perl #74326] [BUG] LTA error message when passing the invocant parameter as a named argument in Rakudo

2010-04-13 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #74326] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=74326 > rakudo: class A { method foo($bar:) { say $bar.WHAT } }; A.new.foo( :bar(42) ) rakudo