Opened 8 years ago
Closed 8 years ago
#427 closed defect (fixed)
bug in invoke-restart
Reported by: | aruttenberg | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4.1 |
Component: | interpreter | Version: | 1.5.0-dev |
Keywords: | Cc: | ||
Parent Tickets: |
Description
See the comment at
https://github.com/sbcl/sbcl/blob/88fd8640e118ace44185a90baac095025acec3c5/src/code/target-error.lisp#L165
The issue is when invoke-restart is called with an actual restart with a test condition rather than a symbol. Currently invoke-restart calls (compute-restarts nil). So in the case where you've computed restarts (based on the condition) and then choose one of them, that restart can be considered inactive because the test function is run again with condition=nil instead of the condition that was signaled (and tested for).
Pull request https://github.com/armedbear/abcl/pull/18 to fix
copied from https://github.com/armedbear/abcl/issues/17
Change History (1)
comment:1 Changed 8 years ago by
Milestone: | → 1.4.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | → 1.5.0-dev |
Fixed with <http://abcl.org/trac/changeset/14950>