duct-framework / module.cljs

Duct module for developing and compiling ClojureScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reader error on ##Inf

lambdam opened this issue · comments

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: clojure/clojurescript@26bf9a5

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

Fixed in 0.3.2