X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=rules.lisp;h=d9ea16e1819f87eb331e3e51e37817e49124ef63;hb=c980d37ba76e883ac2fb8daaf66f4c22fd0d30a3;hp=cdffc345a271a684edc82944d95d989937cd9bc5;hpb=495bae1f27400071ca9463bcf012eb2ff4a54577;p=hyperobject.git diff --git a/rules.lisp b/rules.lisp index cdffc34..d9ea16e 100644 --- a/rules.lisp +++ b/rules.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: rules.lisp,v 1.15 2003/04/22 15:41:33 kevin Exp $ +;;;; $Id: rules.lisp,v 1.16 2003/04/22 15:43:53 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg ;;;; @@ -76,12 +76,7 @@ #+ignore (cmsg-c :verbose "Setf slot value: class: ~s, obj: ~s, slot: ~s, value: ~s" cl (class-of obj) slot new-value) - (esd-value-constraint slot) - #+ignore - (slot-value slot 'value-constraint) - (call-next-method) - #+ignore - (let ((func (esd-value-constraint slot))) + (let ((func (slot-value slot 'value-constraint))) (cond ((and func (not (funcall func new-value))) (warn "Rejected change to value of slot ~a of object ~a"