|Version||r3 master||Category||Unspecified||Submitted by||fork|
|Summary||APPLY should raise an error on excess arguments|
At time of writing, APPLY will fill in NONE for unspecified arguments or refinements. It will also tolerate too many. So in the test suite, the following is expected to succeed:
1 == apply func [a] [a] [1 2]
As APPLY is already somewhat brittle in terms of corresponding to the order in which refinements appear in the function spec, this "laxness" only makes it worse. It likely represents a misunderstanding or error. Raising an error would be preferable.
|Assigned to||n/a||Fixed in||-||Last Update||4-Aug-2015 19:37|