X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcross-type.lisp;h=47fc196a9a684a7c371c5269e952866a274baecc;hb=129b26c117d41c21663f07e9017871b56fafa501;hp=1aefd7f391619a30a527a767253f1f0bdfe10801;hpb=988afd9d54ba6c8a915544822658824ab6ae0d6c;p=sbcl.git diff --git a/src/code/cross-type.lisp b/src/code/cross-type.lisp index 1aefd7f..47fc196 100644 --- a/src/code/cross-type.lisp +++ b/src/code/cross-type.lisp @@ -82,6 +82,9 @@ 'fixnum) (t 'integer))) + ((subtypep raw-result 'simple-string) + `(simple-base-string ,(length object))) + ((subtypep raw-result 'string) 'base-string) ((some (lambda (type) (subtypep raw-result type)) '(array character list symbol)) raw-result)