wscl icon indicating copy to clipboard operation
wscl copied to clipboard

restart-case typo

Open moon-chilled opened this issue 2 years ago • 2 comments

example reads:

 (restart-case
     (handler-bind ((error #'(lambda (c)
                             (declare (ignore condition))
                             (invoke-restart 'my-restart 7))))
       (error "Foo."))
   (my-restart (&optional v) v))

should pick just one of 'c' and 'condition'. And probably ditch #'

moon-chilled avatar May 07 '23 01:05 moon-chilled

Thanks. Applied in https://github.com/s-expressionists/dpans/commit/8c75767627d41db43ec36109905bffa333546c91 (except the #' part since we only address errors for now).

scymtym avatar May 08 '23 08:05 scymtym

I just realised the indentation of the function body is also wrong (does that count as an error?)

moon-chilled avatar May 08 '23 09:05 moon-chilled