X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fpcl%2Fdefclass.lisp;h=33bfd0b1a3024063326c7942436f413e21d406b9;hb=4ba392170e98744f0ef0b8e08a5d42b988f1d0c9;hp=cd9bd186bcde9cb5520871e59f8905ede115752b;hpb=0223f43d5f199914ebceff12b6f4c60448369edd;p=sbcl.git diff --git a/src/pcl/defclass.lisp b/src/pcl/defclass.lisp index cd9bd18..33bfd0b 100644 --- a/src/pcl/defclass.lisp +++ b/src/pcl/defclass.lisp @@ -298,6 +298,7 @@ ;; actual type as a compile-time side-effect would probably be a bad ;; idea and (2) anyway we don't need to modify it in order to make ;; NAME be recognized as a valid type name) + (with-single-package-locked-error (:symbol name "proclaiming ~S as a class")) (unless (info :type :kind name) ;; Tell the compiler to expect a class with the given NAME, by ;; writing a kind of minimal placeholder type information. This