projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.7.12.47:
[sbcl.git]
/
src
/
code
/
coerce.lisp
diff --git
a/src/code/coerce.lisp
b/src/code/coerce.lisp
index
ab0d667
..
1d05f63
100644
(file)
--- a/
src/code/coerce.lisp
+++ b/
src/code/coerce.lisp
@@
-117,10
+117,7
@@
(character object))
((csubtypep type (specifier-type 'function))
#!+high-security
(character object))
((csubtypep type (specifier-type 'function))
#!+high-security
- (when (and (or (symbolp object)
- (and (listp object)
- (= (length object) 2)
- (eq (car object) 'setf)))
+ (when (and (legal-fun-name-p object)
(not (fboundp object)))
(error 'simple-type-error
:datum object
(not (fboundp object)))
(error 'simple-type-error
:datum object