Fork me on GitHub
#core-async
<
2022-08-24
>
pieterbreed14:08:38

Is there a known, unexpected interaction with core.async and cljs's .. operator?

pieterbreed14:08:23

This code works

(set! (.. submit-btn -disabled) true)
but this fails with Wrong number of rags (1) passed to: clojure.core/-DOT--DOT-
(csp/go (set! (.. submit-btn -disabled) true))

pieterbreed14:08:26

If it's not been fixed since 2014 then I guess it's not going to be fixed. thank you.

Alex Miller (Clojure team)15:08:44

patches welcome :) fixing these things is generally hard

souenzzo16:08:51

There is also issues with #js {...} literals. You can wrap your set! in a function to get it working