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

Reader macros break paredit and auto-formatting #20

Open
lachholden opened this issue May 3, 2024 · 0 comments
Open

Reader macros break paredit and auto-formatting #20

lachholden opened this issue May 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@lachholden
Copy link

I define I reader macro D in e.g. mymodule.util, and require it with (require mymodule.util :reader [D])

The actual code using this macro functions fine and evaluates normally in the REPL.

Whenever I slurp, I get the following error popup: "Command 'Hy Paredit: Slurp Sexp Backward' resulted in an error" // "No reader function for tag D." -- funnily enough, the slurp still succeeds! Additionally, my code silently no longer formats either on save or manually.

It works fine again if I delete all instances of the reader macro in my code.

This is extension v0.0.8 with VS code v1.88.1 and Hy v0.28.0

@CFiggers CFiggers self-assigned this May 4, 2024
@CFiggers CFiggers added the bug Something isn't working label May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants