Skip to content

Commit

Permalink
1.0.14.41: record bug 423
Browse files Browse the repository at this point in the history
 * TRULY-THE interacts badly with *CHECK-CONSISTENCY*.
  • Loading branch information
nikodemus committed Feb 22, 2008
1 parent 14e60ec commit 3a7a422
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions BUGS
Expand Up @@ -1888,3 +1888,23 @@ Which should be fixed, the IR1, or the backend?
behaves ...erratically. Reported by Kevin Reid on sbcl-devel
2007-07-06. (We don't _have_ to check things like this, but we
generally try to check returns in safe code, so we should here too.)

423: TRULY-THE and *CHECK-CONSISTENCY*

The following signals errors due to TRULY-THEs in dead code:

(let ((sb-c::*check-consistency* t))
(handler-bind ((warning #'error))
(flet ((make-lambda (type)
`(lambda (x)
((lambda (z)
(if (listp z)
(let ((q (truly-the list z)))
(length q))
(if (arrayp z)
(let ((q (truly-the vector z)))
(length q))
(error "oops"))))
(the ,type x)))))
(compile nil (make-lambda 'list))
(compile nil (make-lambda 'vector)))))
2 changes: 1 addition & 1 deletion version.lisp-expr
Expand Up @@ -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".)
"1.0.14.40"
"1.0.14.41"

0 comments on commit 3a7a422

Please sign in to comment.