Welcome! Please see the About page for a little more info on how this works.
This ClojureScript compiles and runs as expected:
(let [circle (dom/getElement "circle")] (go-loop [x 20] (<! (timeout 10)) (set! (.-value (.-baseVal (.-cx circle))) x) (recur (inc x))))
But if I change the set! line to:
set!
(set! (.. circle -cx -baseVal -value) x)
I get the following error:
Wrong number of args (3) passed to: core$-DOT
For further discussion see (link: https://groups.google.com/d/topic/clojurescript/ONMaEho4K0c/discussion)
Comment made by: hellofunk
I too noticed this, but only when using the .. operator in a go loop. The linked thread further suggests this is a core.async problem with this operator.