On Fri, Jul 27, 2007 at 09:13:42PM -0700, Colin Kuskie wrote: > Please try running either the pi.t or e.t tests from > pugs t/builtins/math/{e,pi}.t. > > When used in an equation like this: > pi + 3 > parrot returns this error: > > too few arguments passed (1) - 2 params expected > current instr.: 'parrot;Perl6::Compiler;main' pc 138 (perl6.pir:98) > > pi and e don't take any arguments, so maybe it is '+' complaining?
Out of curiosity, where are 'pi' and 'e' defined (e.g., in the Synopses or other specs)? Do these even belong in the test suite? Also, I'm looking at the STD.pm grammar, and I don't quite see how or where it's handling parsing of nullary functions. Pm