duct-framework / module.cljs

Duct module for developing and compiling ClojureScript
2 stars 6 forks source link

Reader error on ##Inf #7

Closed lambdam closed 6 years ago

lambdam commented 6 years ago

Hello James,

I just created a fresh project with lein new duct foo +cljs +site +example

When I run lein run :duct/compiler, I get this error:

Applying optimizations :advanced to 15 sources
nov. 16, 2017 11:40:19 AM com.google.javascript.jscomp.LoggerErrorManager println
GRAVE: /tmp/foo/target/resources/foo/public/js/cljs/core.js:3579: ERROR - Parse error. primary expression expected
case ##Inf:
      ^

This is discussed here: https://clojurians-log.clojureverse.org/cljs-dev/2017-09-19.html and seems to be fixed in this commit: https://github.com/clojure/clojurescript/commit/26bf9a5baf30bfbe81ef98b9db300b8c9232939f

Bumping the ClojureScript dependency to the latest release (r1.9.946) should fix this.

weavejester commented 6 years ago

Fixed in 0.3.2