projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.39.9: improvements to the manual
[sbcl.git]
/
src
/
compiler
/
ltv.lisp
diff --git
a/src/compiler/ltv.lisp
b/src/compiler/ltv.lisp
index
b7c705c
..
a695b65
100644
(file)
--- a/
src/compiler/ltv.lisp
+++ b/
src/compiler/ltv.lisp
@@
-35,7
+35,10
@@
guaranteed to never be modified, so it can be put in read-only storage."
(specifier-type 'function))
((and (legal-fun-name-p op)
(eq :declared (info :function :where-from op)))
(specifier-type 'function))
((and (legal-fun-name-p op)
(eq :declared (info :function :where-from op)))
- (fun-type-returns (info :function :type op)))
+ (let ((ftype (info :function :type op)))
+ (if (fun-type-p ftype)
+ (fun-type-returns ftype)
+ *wild-type*)))
(t
*wild-type*))))
((and (symbolp form)
(t
*wild-type*))))
((and (symbolp form)