X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fproclaim.lisp;h=57ad8243e0f76c25def4d4e4926a8065f8c8a0da;hb=068cf4b55af3f8f8acf2c7c06869441612261cd4;hp=9dd4dc68e25f06ce3c8e779eb74bc41aec8af6dc;hpb=d604a358d8e5eb5587989e0a4f1d31dbe6ac5ffe;p=sbcl.git diff --git a/src/compiler/proclaim.lisp b/src/compiler/proclaim.lisp index 9dd4dc6..57ad824 100644 --- a/src/compiler/proclaim.lisp +++ b/src/compiler/proclaim.lisp @@ -172,7 +172,7 @@ (dolist (name args) (unless (symbolp name) (error "can't declare a non-symbol as SPECIAL: ~S" name)) - (when (constantp name) + (when (sb!xc:constantp name) (error "can't declare a constant as SPECIAL: ~S" name)) (with-single-package-locked-error (:symbol name "globally declaring ~A special")) @@ -234,7 +234,7 @@ (setf (classoid-state class) :sealed) (let ((subclasses (classoid-subclasses class))) (when subclasses - (dohash (subclass layout subclasses) + (dohash ((subclass layout) subclasses :locked t) (declare (ignore layout)) (setf (classoid-state subclass) :sealed)))))))) (optimize