-
Notifications
You must be signed in to change notification settings - Fork 136
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
-let breaks edebug #256
Comments
Minimal example: (defun foo ()
(-let ((y))
y)) |
This fixes the failing tests. It also ensures that we show the correct source code for primitive functions/special forms. We also use (-let ((foo nil)) ...) rather than (-let ((foo)) ...) or (-let (foo) ...) to work around an edebug issue: magnars/dash.el#256
I don't think this is a valid form. What do you expect So then we can argue it does not break edebug rather than it is a "type check" :D What is your use-case for having such a binding? |
I'd expect (defun foo ()
(let ((y))
y)) I ended up using this syntax as a workaround for #255, but I would expect it to work since it works with It's probably an edebug issue, as the macro expansion looks fine. |
Oh, I was not aware that it was allowed syntax. I assumed you either had to have a tuple or just a variable, but not Thanks for making this clear for me :) ❤️ |
Thank you :) |
C-u M-x edebug-eval-defun
breaks edebug:I'm not sure why this is, or if it's an edebug issue.
The text was updated successfully, but these errors were encountered: