# New Ticket Created by  Cory Spencer 
# Please include the string:  [perl #62046]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=62046 >



When defining a class as follows:

   class Foo {
     method list {
       say "bar"
     }
   };

calling the 'list' method as below:

   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;list' pc 187 (EVAL_13:91)
   ...

Changing the method's name from 'list' to something else does not produce 
the same error.



Reply via email to