Ticket #298 (new defect)

Opened 8 months ago

Unhelpful error message when macro is invoked with wrong number of arguments

Reported by: hans Assigned to: gb
Priority: major Milestone:
Component: Compiler Version:
Keywords: Cc:

Description

When a macro is invoked with an invalid argument, the error message gives no indication about the error location. It should at least print the name of the macro that is being invoked wrongly, and preferably report a file position, too.

Welcome to Clozure Common Lisp Version 1.2-r9023-trunk  (DarwinPPC32)!
? (dolist (foo))
> Error: Required arguments in (FOO) don't match lambda list (CCL::VARSYM LIST &OPTIONAL CCL::RET).