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

0 votes
in core.async by

IOC doesn't properly handle set!. The following snippet fails to compile because set! is treated like a function call, evaluating field access first instead of treating the whole form as a field instance assignment.

(a/go (set! (.-gridx (java.awt.GridBagConstraints.)) (a/<! (a/go 0))))

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/ASYNC-222 (reported by leonoel)
...