From e869c4f788a2221d057019b1ff7430a10e29c7b0 Mon Sep 17 00:00:00 2001 From: Christophe Rhodes Date: Thu, 17 Jul 2003 15:00:52 +0000 Subject: [PATCH] 0.8.1.38: Make it slightly easier on the type inferencer: don't even threaten to return NIL from a string array reference. ... use ETYPECASE instead of TYPECASE. --- src/compiler/generic/vm-tran.lisp | 4 ++-- version.lisp-expr | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compiler/generic/vm-tran.lisp b/src/compiler/generic/vm-tran.lisp index 37fdb87..68935a6 100644 --- a/src/compiler/generic/vm-tran.lisp +++ b/src/compiler/generic/vm-tran.lisp @@ -46,7 +46,7 @@ (if (array-type-p ctype) ;; the other transform will kick in, so that's OK (give-up-ir1-transform) - `(typecase string + `(etypecase string ((simple-array character (*)) (data-vector-ref string index)) ((simple-array nil (*)) (data-vector-ref string index)))))) @@ -95,7 +95,7 @@ (if (array-type-p ctype) ;; the other transform will kick in, so that's OK (give-up-ir1-transform) - `(typecase string + `(etypecase string ((simple-array character (*)) (data-vector-set string index new-value)) ((simple-array nil (*)) diff --git a/version.lisp-expr b/version.lisp-expr index d1a92f9..fa433f2 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; 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".) -"0.8.1.37" +"0.8.1.38" -- 1.7.10.4