Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error on latest clojurescript #66

Closed
vushu opened this issue Jun 29, 2018 · 3 comments
Closed

Getting error on latest clojurescript #66

vushu opened this issue Jun 29, 2018 · 3 comments

Comments

@vushu
Copy link

vushu commented Jun 29, 2018

As the title says, I am getting and error when using the latest version of clojurescript 1.10.x
with thi.ng/geom. When using together with figwheel i get this following error.

 ----  Could not Analyze  resources/public/js/compiled/out/thi/ng/geom/gl/core.cljc   line:437  column:41  ----

  Can't recur here at line 437 resources/public/js/compiled/out/thi/ng/geom/gl/core.cljc

  435                          (set! (.-onselectstart canvas) (constantly false))
  436                          (if ctx ctx (recur (next ids))))
  437                        (catch js/Error e (recur (next ids))))))]
                                               ^--- Can't recur here at line 437 resources/public/js/compiled/out/thi/ng/geom/gl/core.cljc
  438          (or ctx (err/unsupported! "WebGL not available"))))))
  439  #?(:clj
  440     (defn clear-color-buffer

----  Analysis Error : Please see resources/public/js/compiled/out/thi/ng/geom/gl/core.cljc  ----

I use this version [org.clojure/clojurescript "1.9.89"] to make it work.

@postspectacular
Copy link
Member

Hey @vushu - thanks for reporting this. Which version of geom are you using. Did you try with the new release candidate [thi.ng/geom "1.0.0-RC3"]?

@vushu
Copy link
Author

vushu commented Jun 29, 2018

Ah thank you, this release works with the latest clojurescript 1.10.339

@postspectacular
Copy link
Member

Great! Btw. if you want to follow discussion about the upcoming 1.0.0 release, hop onto the #clojure channel on our Discord: https://discord.gg/JhYcmBw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants