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
# 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"