[perl #39844] [BUG] Parrot doesn't do args checking for a sub without params
Will Coleda via RT
parrotbug-followup at parrotcode.org
Mon Sep 21 04:09:05 UTC 2009
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
>
Now being tracked in
https://trac.parrot.org/parrot/ticket/1033
--
Will "Coke" Coleda
More information about the parrot-dev
mailing list