clauses in handler-case incorrectly reject duplicate doc strings

Bug #1742300 reported by Paul F. Dietz on 2018-01-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

handler-case clauses have declaration*, not [[ declaration* | documentation ]], so they should not reject duplicate strings. Also, they SHOULD reject the presence of a string before a declaration.

(handler-case (list 1 2) (error (e) "foo" "bar" nil)) ==> should evaluate to (1 2)

Given the wording in the spec about :no-error, it is possible there that string forms following the declarations that might be confused as docstrings of a constructed lambda expression would not be allowed.

Stas Boukarev (stassats) wrote :


Changed in sbcl:
status: New → Fix Committed
Stas Boukarev (stassats) on 2018-01-31
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