Skip to content

Commit

Permalink
0.8.5.38:
Browse files Browse the repository at this point in the history
	Fix PFDtest HANDLER-CASE.28
	... wrap in LOCALLY
  • Loading branch information
csrhodes committed Nov 15, 2003
1 parent 70ea2f8 commit 6de1a3e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions NEWS
Expand Up @@ -2189,6 +2189,8 @@ changes in sbcl-0.8.6 relative to sbcl-0.8.5:
** implementation of ASH-MOD32 on X86 did not work for the shift
greater than 32.
** FLUSH-DEST did not mark blocks for type check regeneration.
** HANDLER-CASE failed to accept declarations in handler clauses
in some circumstances.

planned incompatible changes in 0.8.x:
* (not done yet, but planned:) When the profiling interface settles
Expand Down
4 changes: 1 addition & 3 deletions src/code/defboot.lisp
Expand Up @@ -584,10 +584,8 @@
`(let ((,(caaddr annotated-case)
,var))
,@body))
((not (cdr body))
(car body))
(t
`(progn ,@body)))))))
`(locally ,@body)))))))
annotated-cases))))))))

;;;; miscellaneous
Expand Down
5 changes: 5 additions & 0 deletions tests/condition.pure.lisp
Expand Up @@ -101,3 +101,8 @@
:failed)))))
(cerror (formatter "Continue from ~A") "bug ~A" :bug)))
:passed))

;;; clauses in HANDLER-CASE are allowed to have declarations (and
;;; indeed, only declarations)
(assert
(null (handler-case (error "foo") (error () (declare (optimize speed))))))
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".)
"0.8.5.37"
"0.8.5.38"

0 comments on commit 6de1a3e

Please sign in to comment.