clauses in handler-case incorrectly reject duplicate doc strings
Bug #1742300 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
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.
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
a32255dbe01d9ab c5849d986ec41ba 271812b18b