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

Investigate nullpointer when unresolved symbol in macro #587

Closed
borkdude opened this issue Sep 22, 2020 · 0 comments
Closed

Investigate nullpointer when unresolved symbol in macro #587

borkdude opened this issue Sep 22, 2020 · 0 comments

Comments

@borkdude
Copy link
Collaborator

$ bb "(defmacro foo [x & xs] \`(do (subs \"foo\" 1) x)) (foo 1)"
----- Error --------------------------------------------------------------------
Type:     clojure.lang.ExceptionInfo
Message:  Could not resolve symbol: user/x
Phase:    analysis

Exception in thread "main" java.lang.NullPointerException
	at clojure.lang.Numbers.ops(Numbers.java:1068)
	at clojure.lang.Numbers.dec(Numbers.java:145)
borkdude added a commit that referenced this issue Sep 22, 2020
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

1 participant