Ticket #296 (new enhancement)

Opened 4 years ago

Last modified 3 years ago

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

Changed 3 years ago by rme

  • priority changed from major to minor
  • component changed from Infrastructure and Support to Compiler

Changed 3 years ago by rme

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