Welcome! Please see the About page for a little more info on how this works.

0 votes
in core.async by

As far as I can see, let bindings are unavailable in #js-literals within go-blocks, ie:

(go (let (link: a 1) (js/console.log #js(link: a))))

prints (link: undefined ) instead of (link: 1)

It happens both with #js(link: ..) and #js{..}

To make it easier to reproduce the bug, I've created a minimal repository github.com/rasmuserik/cljs-bug with project.clj etc.

1 Answer

0 votes
Reference: https://clojure.atlassian.net/browse/ASYNC-117 (reported by alex+import)