Changeset 5050


Ignore:
Timestamp:
12/10/03 14:29:55 (18 years ago)
Author:
piso
Message:

CANONICALIZE-DIRECT-SLOT: signal error for invalid initialization argument.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/clos.lisp

    r5049 r5050  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: clos.lisp,v 1.26 2003-12-10 13:48:41 piso Exp $
     4;;; $Id: clos.lisp,v 1.27 2003-12-10 14:29:55 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    141141             (push-on-end `(setf ,(cadr olist)) writers))
    142142            (t
    143              (push-on-end `',(car olist) other-options)
    144              (push-on-end `',(cadr olist) other-options))))
     143             (error 'program-error
     144                    "invalid initialization argument ~S for slot named ~S"
     145                    (car olist) name))))
    145146        `(list
    146147          :name ',name
Note: See TracChangeset for help on using the changeset viewer.