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
Just ran into this were naively was defining a variable with same name as a core function, and trying to figure out why wasn't working.
Thanks a lot @borkdude for pointing it out 🙏🏼
Maybe some error msg is possible? or we could add to the docs a warning to not create vars with names this list?
(def count 0) (defn increment [] (set! count (+ count 1)))
output:
import * as squint_core from 'squint-cljs/core.js'; var count = 0; var increment = (function () { return squint_core.count = (squint_core.count + 1); });
The text was updated successfully, but these errors were encountered:
Yeah, this needs to be fixed, thanks for reporting.
Sorry, something went wrong.
Fix #320: overriding core vars
7f4e55e
b11fac3
No branches or pull requests
Just ran into this were naively was defining a variable with same name as a core function, and trying to figure out why wasn't working.
Thanks a lot @borkdude for pointing it out 🙏🏼
Maybe some error msg is possible? or we could add to the docs a warning to not create vars with names this list?
output:
The text was updated successfully, but these errors were encountered: