* Don't signal an error if no TYPE exists when FIND-DEFINITION-SOURCES-BY-NAME
is called with :TYPE as the second argument.
(if loc
(translate-source-location loc)
(let ((expander-fun (sb-int:info :type :expander name)))
- (find-definition-source expander-fun)))))
+ (when expander-fun
+ (find-definition-source expander-fun))))))
((:method)
(when (fboundp name)
(let ((fun (real-fdefinition name)))
'kroolz)
(assert (equal (function-arglist #'kroolz) '(r1 r2 &optional opt)))
+;;;; Test finding a type that isn't one
+(assert (not (find-definition-sources-by-name 'fboundp :type)))
;;;; Test the xref facility
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.22.8"
+"1.0.22.9"