On Tue Sep 09 06:29:24 2008, kjs wrote: > It seems that the error condition refers to the case where too many > arguments are passed (#args > #params).It's not really "overflow" in that > sense, IMHO, just "too many arguments passed". > > I think an exception is already thrown when that happens, not sure.
As long as the sub you're calling has a .param, yes. (Otherwise you run into TT #1033 $ cat foo.pir && ./parrot foo.pir .sub 'main' bar(1,2,3) .end .sub 'bar' .param pmc a noop .end too many arguments passed (3) - 1 param expected current instr.: 'bar' pc 15 (foo.pir:5) called from Sub 'main' pc 10 (foo.pir:2) -- Removed comment, resolving ticket. -- Will "Coke" Coleda _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
