[armedbear-devel] Problem with error reporting

Blake McBride blake at mcbride.name
Wed Jan 12 16:18:38 UTC 2011


Here is another example:

Error loading /Users/blake/NetBeansProjects/Arahant/src/java/com/arahant/lisp/utils.lisp
at line 268 (offset 10995)
#<THREAD "main" {E4EB585}>: Unhandled condition of type SIMPLE-ERROR:
  The slot ~S is missing from the class ~S.


"~S" isn't very helpful.

Thanks.

Blake McBride




On Tue, Jan 11, 2011 at 8:52 AM, Blake McBride <blake at mcbride.name> wrote:
> I've noticed a problem with error reporting in certain cases.  For
> example, if you type (cons) you get:
>
> "Wrong number of arguments for CONS."
>
> However, if you type (time) you get:
>
> "Wrong number of arguments for ~S."
>
> It should be:
>
> "Wrong number of arguments for TIME."
>
> Of course this is a problem because it doesn't give any pointers when
> a function fails.
>
> I've seen this issue in several instances.
>
> Thanks.
>
> Blake McBride
>




More information about the armedbear-devel mailing list