pangloss/clang

Broken on lein-cljsbuild 0.3.2

sgrove opened this issue · 1 comments

Building a project with clang-0.1.0-SNAPSHOT, lein-cljsbuild 0.3.2 and clojurescript-0.0-1803 causes the following error:

$ lein cljsbuild once dev
Compiling ClojureScript.
Compiling "kandan/public/javascripts/bin-debug/main.js" from ["src/cljs"]...
Compiling "kandan/public/javascripts/bin-debug/main.js" failed.
java.lang.NoSuchMethodError: cljs.closure.JavaScriptFile.<init>(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
          closure.clj:278 cljs.closure/javascript-file
          closure.clj:290 cljs.closure/map->javascript-file
          closure.clj:373 cljs.closure/compiled-file
            core.clj:2485 clojure.core/map[fn]
          LazySeq.java:42 clojure.lang.LazySeq.sval
          LazySeq.java:67 clojure.lang.LazySeq.seq
              RT.java:484 clojure.lang.RT.seq
             core.clj:133 clojure.core/seq
             core.clj:678 clojure.core/concat[fn]
          LazySeq.java:42 clojure.lang.LazySeq.sval
          LazySeq.java:60 clojure.lang.LazySeq.seq
             Cons.java:39 clojure.lang.Cons.next
             RT.java:1654 clojure.lang.RT.boundedLength
          RestFn.java:130 clojure.lang.RestFn.applyTo
             core.clj:619 clojure.core/apply
          closure.clj:960 cljs.closure/build
          compiler.clj:57 cljsbuild.compiler/compile-cljs[fn]
          compiler.clj:56 cljsbuild.compiler/compile-cljs
         compiler.clj:140 cljsbuild.compiler/run-compiler
         NO_SOURCE_FILE:1 user/eval2350[fn]
          LazySeq.java:42 clojure.lang.LazySeq.sval
          LazySeq.java:60 clojure.lang.LazySeq.seq
              RT.java:484 clojure.lang.RT.seq
             core.clj:133 clojure.core/seq
            core.clj:2780 clojure.core/dorun
            core.clj:2796 clojure.core/doall
         NO_SOURCE_FILE:1 user/eval2350[fn]
         NO_SOURCE_FILE:1 user/eval2350
       Compiler.java:6619 clojure.lang.Compiler.eval
       Compiler.java:6609 clojure.lang.Compiler.eval
       Compiler.java:6582 clojure.lang.Compiler.eval
            core.clj:2852 clojure.core/eval
             main.clj:308 clojure.main/eval-opt
             main.clj:327 clojure.main/initialize
             main.clj:362 clojure.main/null-opt
             main.clj:440 clojure.main/main
          RestFn.java:421 clojure.lang.RestFn.invoke
             Var.java:419 clojure.lang.Var.invoke
             AFn.java:163 clojure.lang.AFn.applyToHelper
             Var.java:532 clojure.lang.Var.applyTo
             main.java:37 clojure.main.main

Not sure about the source of the problem, will see if we can get this fixed up. In the meantime, putting this here as a heads up for others that you must use lein-cljsbuild 0.3.0 and clojurescript -0.0-1552.

I just ran into this as well, thanks for the heads up.