ravikumar10 / genyris

Automatically exported from code.google.com/p/genyris
Other
0 stars 0 forks source link

No error on too few function arguments. #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

> def fn(x) (list x)
:
<EagerProc: <fn>> # EagerProcedure
> fn 1
:
(1) # Pair
> fn 1 2
:
(1) # Pair
> fn 1 2 3
:
(1) # Pair

What do you see?

No error on too many arguments.

What is the expected output?

Not sure, but I naturally expected an error message.

Original issue reported on code.google.com by birchb1...@gmail.com on 1 Apr 2013 at 10:43

GoogleCodeExporter commented 9 years ago
Fixed in 0.6.9-18-g1aa4c73. Note does not apply to lazy and &rest procedures.

Original comment by birchb1...@gmail.com on 6 Apr 2013 at 1:34

GoogleCodeExporter commented 9 years ago

Original comment by birchb1...@gmail.com on 13 Apr 2013 at 8:44