We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
version: bb v0.7.3 platform: linux-amd64
problem:
Clojure does not allow to take value of macro, Babashka does. I have found the corresponding TODO: https://github.com/babashka/sci/blob/v0.2.8/src/sci/impl/resolve.cljc#L148
I expect it to be a simple change: The IVar has an isMacro method we can call in resolve-symbol:
IVar
isMacro
sci/src/sci/impl/vars.cljc
Line 100 in 2061698
Consideration: what type of exception should be thrown in this case?
repro:
Just type -> in Babashka
->
expected behavior
Should throw exception with message:
Can't take value of a macro: #'clojure.core/->
The text was updated successfully, but these errors were encountered:
c5189a7
Thanks for reporting! Already fixed.
Sorry, something went wrong.
No branches or pull requests
version: bb v0.7.3
platform: linux-amd64
problem:
Clojure does not allow to take value of macro, Babashka does. I have found the corresponding TODO: https://github.com/babashka/sci/blob/v0.2.8/src/sci/impl/resolve.cljc#L148
I expect it to be a simple change: The
IVar
has anisMacro
method we can call in resolve-symbol:sci/src/sci/impl/vars.cljc
Line 100 in 2061698
Consideration: what type of exception should be thrown in this case?
repro:
Just type
->
in Babashkaexpected behavior
Should throw exception with message:
The text was updated successfully, but these errors were encountered: