Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restart-case typo #32

Open
moon-chilled opened this issue May 7, 2023 · 2 comments
Open

restart-case typo #32

moon-chilled opened this issue May 7, 2023 · 2 comments

Comments

@moon-chilled
Copy link
Contributor

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 #'

@scymtym
Copy link
Member

scymtym commented May 8, 2023

Thanks. Applied in s-expressionists/dpans@8c75767 (except the #' part since we only address errors for now).

@moon-chilled
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants