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.78.vector-nil-string.11:
[sbcl.git]
/
src
/
code
/
coerce.lisp
diff --git
a/src/code/coerce.lisp
b/src/code/coerce.lisp
index
ab0d667
..
f1dca41
100644
(file)
--- a/
src/code/coerce.lisp
+++ b/
src/code/coerce.lisp
@@
-116,11
+116,7
@@
((csubtypep type (specifier-type 'character))
(character object))
((csubtypep type (specifier-type 'function))
((csubtypep type (specifier-type 'character))
(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
@@
-132,7
+128,6
@@
:expected-type '(satisfies fboundp)
:format-control "~S isn't fbound."
:format-arguments (list object)))
:expected-type '(satisfies fboundp)
:format-control "~S isn't fbound."
:format-arguments (list object)))
- #!+high-security
(when (and (symbolp object)
(sb!xc:macro-function object))
(error 'simple-type-error
(when (and (symbolp object)
(sb!xc:macro-function object))
(error 'simple-type-error
@@
-140,7
+135,6
@@
:expected-type '(not (satisfies sb!xc:macro-function))
:format-control "~S is a macro."
:format-arguments (list object)))
:expected-type '(not (satisfies sb!xc:macro-function))
:format-control "~S is a macro."
:format-arguments (list object)))
- #!+high-security
(when (and (symbolp object)
(special-operator-p object))
(error 'simple-type-error
(when (and (symbolp object)
(special-operator-p object))
(error 'simple-type-error