projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.0.46:
[sbcl.git]
/
src
/
pcl
/
methods.lisp
diff --git
a/src/pcl/methods.lisp
b/src/pcl/methods.lisp
index
5a57f24
..
63b1bcd
100644
(file)
--- a/
src/pcl/methods.lisp
+++ b/
src/pcl/methods.lisp
@@
-89,10
+89,7
@@
"is not a non-null atom"))
(defmethod legal-slot-name-p ((object standard-method) x)
"is not a non-null atom"))
(defmethod legal-slot-name-p ((object standard-method) x)
- (cond ((not (symbolp x)) "is not a symbol and so cannot be bound")
- ((keywordp x) "is a keyword and so cannot be bound")
- ((memq x '(t nil)) "cannot be bound")
- ((constantp x) "is a constant and so cannot be bound")
+ (cond ((not (symbolp x)) "is not a symbol")
(t t)))
(defmethod legal-specializers-p ((object standard-method) x)
(t t)))
(defmethod legal-specializers-p ((object standard-method) x)