From: espen Date: Sun, 19 Feb 2006 19:10:33 +0000 (+0000) Subject: Fix for SBCL >= 0.9.8 X-Git-Tag: clg-0-92~42 X-Git-Url: https://git.distorted.org.uk/~mdw/clg/commitdiff_plain/f611f15f163056536883b493292c8a73d6822d64 Fix for SBCL >= 0.9.8 --- diff --git a/glib/proxy.lisp b/glib/proxy.lisp index 2f0bf75..0baa3dc 100644 --- a/glib/proxy.lisp +++ b/glib/proxy.lisp @@ -20,7 +20,7 @@ ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -;; $Id: proxy.lisp,v 1.33 2006/02/15 09:45:41 espen Exp $ +;; $Id: proxy.lisp,v 1.34 2006/02/19 19:10:33 espen Exp $ (in-package "GLIB") @@ -205,6 +205,10 @@ (let ((boundp (most-specific-slot-value direct-slotds 'boundp))) (unless (eq boundp *unbound-marker*) (setf (getf initargs :boundp) boundp))) + ;; Need this to prevent type expansion in SBCL >= 0.9.8 + (let ((type (most-specific-slot-value direct-slotds 'type))) + (unless (eq type *unbound-marker*) + (setf (getf initargs :type) type))) (nconc initargs (call-next-method)))) (direct-special-slot-definition (append '(:special t) (call-next-method)))