Ignore:
Timestamp:
12/10/03 02:48:40 (18 years ago)
Author:
piso
Message:

CANONICALIZE-DIRECT-SLOT: check for duplicate :INITFORM options.

File:
1 edited

Legend:

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

    r5041 r5042  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: clos.lisp,v 1.22 2003-12-10 02:34:47 piso Exp $
     4;;; $Id: clos.lisp,v 1.23 2003-12-10 02:48:40 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    101101          (case (car olist)
    102102            (:initform
     103             (when initform
     104               (error 'program-error
     105                      "duplicate slot option :INITFORM for slot named ~S"
     106                      name))
    103107             (setq initfunction
    104108                   `(function (lambda () ,(cadr olist))))
Note: See TracChangeset for help on using the changeset viewer.