Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

6 views
Skip to first unread message

Matt Diephouse

unread,
Jul 16, 2006, 2:29:10 AM7/16/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Matt Diephouse
# Please include the string: [perl #39844]
# in the subject line of all future correspondence about this issue.
# <URL: 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":

.sub main :main
test("foo", "bar")
end
.end

.sub test
print "ok\n"
.return()
.end

--
Matt Diephouse

0 new messages