Opened 11 years ago

Last modified 10 years ago

#296 new enhancement

Misleading error message for invalid slot option

Reported by: hans Owned by: gb
Priority: minor Milestone:
Component: Compiler Version:
Keywords: Cc:

Description

When a slot option is not recognized as valid, CCL responds with an opaque error message that is not helpful.

Welcome to Clozure Common Lisp Version 1.2-r9337MS  (FreebsdX8664)!
? (defclass foo () ((slot :initargs :blub))) 
> Error: value :BLUB is not of the expected type LIST.
> While executing: #<CCL::STANDARD-KERNEL-METHOD COMPUTE-EFFECTIVE-SLOT-DEFINITION (CCL::SLOTS-CLASS T T)>, in process listener(1).

Change History (2)

comment:1 Changed 11 years ago by rme

  • Component changed from Infrastructure and Support to Compiler
  • Priority changed from major to minor

comment:2 Changed 10 years ago by rme

  • Type changed from defect to enhancement
Note: See TracTickets for help on using tickets.