emezeske/lein-cljsbuild

org.clojure.core.rrb-vector errors

Open

#469 opened on Aug 16, 2017

View on GitHub
 (6 comments) (6 reactions) (0 assignees)Clojure (153 forks)batch import
BugHelp WantedSuccessful Repro

Repository metrics

Stars
 (1,096 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

There is a problem compiling with respect to the "ranges" macro, which conflicts with a function name. Building with ClojureScript's public API directly compiles just fine.

clojure.lang.ExceptionInfo: failed compiling file:target/js/clojure/core/rrb_vector/trees.cljs {:file #object[java.io.File 0x6a65daed "target/js/clojure/core/rrb_vector/trees.cljs"]}
....
Caused by: clojure.lang.ArityException: Wrong number of args (1) passed to: nodes/ranges
        at cljs.analyzer$macroexpand_1_STAR_$fn__2179.invoke(analyzer.cljc:2658)
....

See full details in original discussion: https://github.com/brandonbloom/fipp/issues/42

Here's a diff to the RRB vector project that works around this problem: https://github.com/clojure/core.rrb-vector/compare/master...alexandergunnarson:master

Contributor guide