Type | Wish | Status | submitted | Date | 4-Aug-2015 19:37 |
---|---|---|---|---|---|
Version | r3 master | Category | Unspecified | Submitted by | fork |
Platform | All | Severity | minor | Priority | normal |
Summary | APPLY should raise an error on excess arguments |
---|---|
Description |
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. |
Example code |
Assigned to | n/a | Fixed in | - | Last Update | 4-Aug-2015 19:37 |
---|
Date | User | Field | Action | Change |
---|---|---|---|---|
4-Aug-2015 19:37 | Fork | Ticket | Added | - |