Uploaded image for project: 'core.async'
  1. ASYNC-49

(CLJS) cljs IOC macro issue with double-dot form

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:

      ClojureScript 0.0-2138
      core.async 0.1.267.0-0d7780-alpha

      Description

      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! (.. circle -cx -baseVal -value) x)
      

      I get the following error:

      Wrong number of args (3) passed to: core$-DOT

      For further discussion see https://groups.google.com/d/topic/clojurescript/ONMaEho4K0c/discussion

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alex+import import
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: