Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
define undefined conditions #61
on malformed destructuring-bind, bogus-sublist-error was being signaled, said condition didn't exist, and so true error was masked.
On review this code seems to be adapted from CMUCL, but special casing error-fun = 'error and using program-error instead of the conditions.
I brought over the conditions from CMUCL, which are in a comment at the bottom - they should loaded only after clos - wasn't sure of the mechanics.
I then defined a function for bogus-sublist error, based on the reports for the condition, and replaced arg-count-error with the more detailed report as well.