ANN: ClojureScript 0.0-3211

283 views
Skip to first unread message

David Nolen

unread,
Apr 23, 2015, 1:55:11 AM4/23/15
to clojure, clojur...@googlegroups.com
ClojureScript, the Clojure compiler that emits JavaScript source code.


Leiningen dependency information:

[org.clojure/clojurescript "0.0-3211"]

This release is a bugfix release addressing some regressions as well
as introducing some further REPL refinements.

As usual feedback welcome!

## 0.0-3211

### Changes
* CLJS-1205: Conditional reading in REPLs
* CLJS-1204: cljs.build.api/watch can now take compilation inputs
* CLJS-1203: standard way to pass multiple directories to build

### Fixes
* CLJS-1216: incorrect max fixed arity for fns both multi-arity and variadic 
* cljs.analyzer/parse-ns did not bind *cljs-file*
* CLJS-1201: compare broken for IIndexed collections
* CLJS-1202: cljs.repl/load-file is not additive
* CLJS-1199: array-map should skip dropped elements of IndexedSeq
* CLJS-1197: load-file does not reload associated macro namespace

Tony Tam

unread,
Apr 25, 2015, 12:32:53 PM4/25/15
to clojur...@googlegroups.com, clo...@googlegroups.com
Hi,

I'm getting the following error when running cljsbuild with the latest clojurescript build (3211). Changing back to 3126 makes the build work.
Haven't been able to pinpoint the source.

clojure.lang.ArityException: Wrong number of args (2) passed to: reader/read
at clojure.lang.AFn.throwArity(AFn.java:429)
at clojure.lang.AFn.invoke(AFn.java:36)
at cljs.analyzer$forms_seq_STAR_$forms_seq___1930$fn__1931$fn__1932.invoke(analyzer.clj:2001)
at cljs.analyzer$forms_seq_STAR_$forms_seq___1930$fn__1931.invoke(analyzer.clj:1995)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:484)
at clojure.core$seq.invoke(core.clj:133)
at cljs.analyzer$parse_ns$fn__1946.invoke(analyzer.clj:2072)
at cljs.analyzer$parse_ns.invoke(analyzer.clj:2055)
at cljs.analyzer$parse_ns.invoke(analyzer.clj:2046)
at cljs.compiler$compile_root$fn__3062.invoke(compiler.clj:1170)
at clojure.core$map$fn__4245.invoke(core.clj:2559)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:484)
at clojure.core$seq.invoke(core.clj:133)
at clojure.core$map$fn__4245.invoke(core.clj:2551)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:484)
at clojure.core$seq.invoke(core.clj:133)
at clojure.core.protocols$seq_reduce.invoke(protocols.clj:30)
at clojure.core.protocols$fn__6078.invoke(protocols.clj:54)
at clojure.core.protocols$fn__6031$G__6026__6044.invoke(protocols.clj:13)
at clojure.core$reduce.invoke(core.clj:6289)
at cljs.js_deps$build_index.invoke(js_deps.clj:126)
at cljs.js_deps$dependency_order.invoke(js_deps.clj:166)
at cljs.compiler$compile_root.invoke(compiler.clj:1171)
at cljs.closure$compile_dir.invoke(closure.clj:378)
at cljs.closure$eval3418$fn__3419.invoke(closure.clj:418)
at cljs.closure$eval3354$fn__3355$G__3345__3362.invoke(closure.clj:325)
at cljs.closure$eval3405$fn__3406.invoke(closure.clj:432)
at cljs.closure$eval3354$fn__3355$G__3345__3362.invoke(closure.clj:325)
at cljsbuild.compiler.SourcePaths$fn__3798.invoke(compiler.clj:67)
at clojure.core$map$fn__4245.invoke(core.clj:2557)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:484)
at clojure.core$seq.invoke(core.clj:133)
at clojure.core$apply.invoke(core.clj:624)
at clojure.core$mapcat.doInvoke(core.clj:2586)
at clojure.lang.RestFn.invoke(RestFn.java:423)
at cljsbuild.compiler.SourcePaths._compile(compiler.clj:67)
at cljs.closure$build.invoke(closure.clj:1446)
at cljs.closure$build.invoke(closure.clj:1404)
at cljsbuild.compiler$compile_cljs$fn__3809.invoke(compiler.clj:81)
at cljsbuild.compiler$compile_cljs.invoke(compiler.clj:80)
at cljsbuild.compiler$run_compiler.invoke(compiler.clj:179)
at user$eval3941$iter__3959__3963$fn__3964$fn__3976.invoke(form-init4257815834781263139.clj:1)
at user$eval3941$iter__3959__3963$fn__3964.invoke(form-init4257815834781263139.clj:1)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.RT.seq(RT.java:484)
at clojure.core$seq.invoke(core.clj:133)
at clojure.core$dorun.invoke(core.clj:2855)
at clojure.core$doall.invoke(core.clj:2871)
at user$eval3941.invoke(form-init4257815834781263139.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6703)
at clojure.lang.Compiler.eval(Compiler.java:6693)
at clojure.lang.Compiler.load(Compiler.java:7130)
at clojure.lang.Compiler.loadFile(Compiler.java:7086)
at clojure.main$load_script.invoke(main.clj:274)
at clojure.main$init_opt.invoke(main.clj:279)
at clojure.main$initialize.invoke(main.clj:307)
at clojure.main$null_opt.invoke(main.clj:342)
at clojure.main$main.doInvoke(main.clj:420)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
Subprocess failed

Mike Fikes

unread,
Apr 25, 2015, 1:01:58 PM4/25/15
to clojur...@googlegroups.com, clo...@googlegroups.com
Hey Tony, try updating the version of Clojure in your project.clj to 1.7.0-beta1, which is used by 0.0-3211.

(In short, reader/read was given a second arity to allow options to be passed, thus supporting #? conditional reading.)

David Nolen

unread,
Apr 25, 2015, 7:12:08 PM4/25/15
to clojure, clojur...@googlegroups.com
You need to make sure some other dependency isn't pulling in a different version of tools.reader.

David

On Sat, Apr 25, 2015 at 11:11 PM, Allen Rohner <aro...@gmail.com> wrote:


On Saturday, April 25, 2015 at 12:02:08 PM UTC-5, Mike Fikes wrote:
Hey Tony, try updating the version of Clojure in your project.clj to 1.7.0-beta1, which is used by 0.0-3211.

(In short, reader/read was given a second arity to allow options to be passed, thus supporting #? conditional reading.)

I'm seeing the same behavior on 1.7.0-beta2. Yes, I've cleaned.  

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jacob Goodson

unread,
Apr 26, 2015, 11:58:05 PM4/26/15
to clo...@googlegroups.com, clojur...@googlegroups.com
Hey David, would you mind replying to this topic?  Thanks!


Dang typo!
Reply all
Reply to author
Forward
0 new messages