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
set!
doseq
version
0.6.90
problem
Invalid JS is generated
repro
;; repro.cljs (def nodes []) (doseq [n nodes] (set! (.-opacity n) 0))
npx squint-cljs compile repro.cljs node repro.mjs
return [true, n2.opacity = 0; ^ SyntaxError: Unexpected token ';'
expected behavior
no error :)
Note that this seems to work when adding a nil at the end of the doseq body.
nil
The text was updated successfully, but these errors were encountered:
good catch, thanks
Sorry, something went wrong.
Fix #466: doseq with set!
7ad8cb8
e5584b0
No branches or pull requests
version
0.6.90
problem
Invalid JS is generated
repro
expected behavior
no error :)
Note that this seems to work when adding a
nil
at the end of thedoseq
body.The text was updated successfully, but these errors were encountered: