X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcross-type.lisp;h=75bb1aac3ab20d49470fb606ffa1c8a19dd8425b;hb=65a01dae3d437a48e8dd0d051a446245f9e29929;hp=228496f05e84cb706d1a84a38759f0231234a0d8;hpb=2d3cb6dba6461e98744eca2a1df4f770cea468ca;p=sbcl.git diff --git a/src/code/cross-type.lisp b/src/code/cross-type.lisp index 228496f..75bb1aa 100644 --- a/src/code/cross-type.lisp +++ b/src/code/cross-type.lisp @@ -148,14 +148,14 @@ (typep target-type 'class) (bug "We don't support CROSS-TYPEP of CLASS type specifiers")) ((and (symbolp target-type) - (find-class target-type nil) - (subtypep target-type 'sb!kernel::structure!object)) - (values (typep host-object target-type) t)) - ((and (symbolp target-type) (find-classoid target-type nil) (sb!xc:subtypep target-type 'cl:structure-object) (typep host-object '(or symbol number list character))) (values nil t)) + ((and (symbolp target-type) + (find-class target-type nil) + (subtypep target-type 'sb!kernel::structure!object)) + (values (typep host-object target-type) t)) (;; easy cases of arrays and vectors (target-type-is-in '(array simple-string simple-vector string vector))