Steel Bank Common Lisp

Wanted: stricter parsing in and simplification of RESTART-{CASE,BIND}

Reported by Jan Moringen on 2013-07-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

RESTART-CASE did not check clauses properly, accepting, e.g. (restart-case ... ()) which is ill-formed. Furthermore, the processing of clauses was very complicated and even had a KLUDGE stating that the code was unnecessarily complex.

The first patch make syntax checking in RESTART-CASE more strict, simplifies the implementation thereby resolving the KLUDGE and adds some basic tests resolving another FIXME about missing tests after refactoring.

The second patch improves the documentation string of RESTART-BIND and slightly simplifies its implementation.

Changed in sbcl:
status: New → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers