Re: [perl #39844] [BUG] Parrot doesn't do args checking for a sub without params

2008-05-24 Thread chromatic
On Thursday 22 May 2008 18:26:30 Will Coleda via RT wrote: > Here's a simple patch that implements this: > > $ svn diff compilers/ > Index: compilers/imcc/pcc.c > = > == > --- compilers/imcc/pcc.c(revision 27756) > +++ compile

[perl #39844] [BUG] Parrot doesn't do args checking for a sub without params

2008-05-22 Thread Will Coleda via RT
On Sat Jul 15 23:29:10 2006, mdiep wrote: > I expect this to die with a "too many args" error, but it doesn't -- > it prints "ok": > >.sub main :main > test("foo", "bar") > end >.end > >.sub test > print "ok\n" > .return() >.end > > -- > Matt Diephouse > H

[perl #39844] [BUG] Parrot doesn't do args checking for a sub without params

2006-07-15 Thread via RT
# New Ticket Created by Matt Diephouse # Please include the string: [perl #39844] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=39844 > I expect this to die with a "too many args" error, but it doesn't -- it prints "ok":