Opened 14 years ago
Last modified 3 years ago
#298 new defect
Can't invoke a restart with a test
| Reported by: | stassats | Owned by: | ehuelsmann |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.9.3 |
| Component: | interpreter | Version: | 1.2.0-dev |
| Keywords: | Cc: | stassats@… | |
| Parent Tickets: |
Description
(defun test ()
(handler-bind ((error
(lambda (e)
(invoke-restart (find-restart 'restart e)))))
(restart-case
(error "error")
(restart ()
:report "Try to receive data again"
:test (lambda (c) (typep (print c) 'error))
(print "restart")))))
#<SIMPLE-ERROR {2FFB36C2}>
NIL
NIL
Restart #<RESTART RESTART {2623592}> is not active.
Change History (20)
comment:1 by , 14 years ago
| Cc: | added |
|---|
comment:2 by , 14 years ago
| Component: | other → interpreter |
|---|---|
| Milestone: | → 1.2.0 |
| Owner: | changed from to |
| Version: | → 1.2.0-dev |
comment:3 by , 13 years ago
| Priority: | major → critical |
|---|
comment:4 by , 13 years ago
| Milestone: | 1.2.0 → 1.3.0 |
|---|
comment:5 by , 12 years ago
| Milestone: | 1.3.0 → 2.0 |
|---|
comment:7 by , 12 years ago
| Milestone: | 2.0.0 → 1.4.0 |
|---|
comment:12 by , 6 years ago
| Milestone: | 1.6.2 → 1.7.0 |
|---|
comment:17 by , 4 years ago
| Milestone: | 1.8.1 → 1.9.0 |
|---|
comment:18 by , 3 years ago
| Milestone: | 1.9.0 → 1.9.1 |
|---|
comment:19 by , 3 years ago
| Milestone: | 1.9.1 → 1.9.2 |
|---|
comment:20 by , 3 years ago
| Milestone: | 1.9.2 → 1.9.3 |
|---|
Note:
See TracTickets
for help on using tickets.
Ticket retargeted after milestone closed