Opened 8 years ago

Closed 8 years ago

#938 closed defect (fixed)

please not SIMPLE-ERROR

Reported by: fare Owned by:
Priority: normal Milestone:
Component: Compiler Version: trunk
Keywords: Cc:


Mark Nahabedian 2010-05-24 09:33:02 EDT

There are a variety of cases where CCL signals nothing more specific than SIMPLE-ERROR. It would be helpful if appropriate conditions were defined for each of these cases and those conditions were signaled.

Here's an example of a case of SIMPLE-ERROR that should be something like NO-APPLICABLE-METHOD-ERROR instead:

There is no applicable method for the generic function:
when called with arguments:
12474990031128/M/0 AC:PZCCLE,AC:PZCCLE #x300062B32F8D> :CHANGE-TOKEN: NIL>))

NB: Was ITA bug 80692

Change History (2)

comment:1 Changed 8 years ago by fare

Comment 1 Ethan H. Schwartz 2010-06-08 10:53:07 EDT

The hyperspec suggests one can implement this by writing your own NO-APPLICABLE-METHOD:

(though I'm not sure how to write useful specializations on no-applicable-method...overriding the specialization on t may suffice, though)

Also, if we do introduce non-standard lisp behavior in CCL, ideally we could get SBCL to make the same change.

comment:2 Changed 8 years ago by gb

  • Resolution set to fixed
  • Status changed from new to closed

(In [15311]) Primary method on NO-APPLICABLE-METHOD signals an error of type


Fixes ticket:938.

Note: See TracTickets for help on using tickets.