INVOKE-RESTART-INTERACTIVELY behaves like INVOKE-RESTART w.r.t. test-function
commit3be10f2395c6fbc2ddfe4bb1b5ccdf00a914d221
authorJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Wed, 29 Jan 2014 15:18:49 +0000 (29 16:18 +0100)
committerJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Fri, 7 Mar 2014 00:30:32 +0000 (7 01:30 +0100)
treec8937167d1e77c7880cbf5ad07d50acb8683aa27
parent43f6b2d0c65d8614514e7d00647ee43137e99948
INVOKE-RESTART-INTERACTIVELY behaves like INVOKE-RESTART w.r.t. test-function

* INVOKE-RESTART-INTERACTIVELY no longer consults the restart's
  test-function when called with a RESTART instance, fixing interactive
  invocation of restarts with test-functions e.g. from the debugger.

* Tests have been added in tests/condition.impure.lisp.

* Note that this change amends commit 69e6aef which fixed bug 774410
  with the following change to INVOKE-RESTART:

  > INVOKE-RESTART is also affected by the changes for bug
  > 774410. However, it does not respect restart test functions when
  > called with a RESTART instance (This is underspecified in CLHS and
  > other implementations behave in various ways. However, behaving
  > differently would make some restarts un-invokable).

  commit 69e6aef should have changed INVOKE-RESTART-INTERACTIVELY in the
  same way.

Reported-by: Vivitron in #sbcl
NEWS
src/code/target-error.lisp
tests/condition.impure.lisp