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
E.g. what CLJS does is wrap return around the result of js*, NOT pass the :return context to js*!
return
js*
:return
cljs.user=> (str (fn [] (prn 1) (js* "~{} ~{}" 1 2))) "function (){\ncljs.core.prn.call(null,(1));\n\nreturn (1) (2);\n}"
https://github.com/clojure/clojurescript/blob/067eaef03678a06d83caf3f66ddf20f9ee71db5b/src/main/clojure/cljs/analyzer.cljc#L3669-L3718
The answer seems to be yes:
https://github.com/clojure/clojurescript/blob/067eaef03678a06d83caf3f66ddf20f9ee71db5b/src/main/clojure/cljs/analyzer.cljc#L3670
The text was updated successfully, but these errors were encountered:
f7c825a
borkdude
No branches or pull requests
E.g. what CLJS does is wrap
return
around the result ofjs*
, NOT pass the:return
context tojs*
!https://github.com/clojure/clojurescript/blob/067eaef03678a06d83caf3f66ddf20f9ee71db5b/src/main/clojure/cljs/analyzer.cljc#L3669-L3718
The answer seems to be yes:
https://github.com/clojure/clojurescript/blob/067eaef03678a06d83caf3f66ddf20f9ee71db5b/src/main/clojure/cljs/analyzer.cljc#L3670
The text was updated successfully, but these errors were encountered: