[perl #62046] Error when defining a class method called 'list'

2009-01-11 Thread Patrick R. Michaud via RT
On Wed Jan 07 09:16:32 2009, cspencer wrote: > >class Foo { > method list { >say "bar" > } >}; > >my $f = Foo.new; >$f.list > > will produce the following error in Rakudo: > >too few arguments passed (0) - 1 params expected >current instr.: 'parrot;Foo;li

[perl #62046] Error when defining a class method called 'list'

2009-01-07 Thread via RT
# New Ticket Created by Cory Spencer # Please include the string: [perl #62046] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62046 > When defining a class as follows: class Foo { method list { say "bar"