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

Expand regex to include Unexpected error (ClassCastException) macroexpanding defmulti at ... #3521

Closed
vemv opened this issue Oct 15, 2023 · 0 comments · Fixed by #3523
Closed

Comments

@vemv
Copy link
Member

vemv commented Oct 15, 2023

(defmulti 5 class) triggers:

Unexpected error (ClassCastException) macroexpanding defmulti at (src/haystack/parser.cljc:21:1).
class java.lang.Long cannot be cast to class clojure.lang.IObj (java.lang.Long is in module java.base of loader 'bootstrap'; clojure.lang.IObj is in unnamed module of loader 'app')

...which deserves a treatment similar to that of #3506, it seems.

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

Successfully merging a pull request may close this issue.

1 participant