hoplon / boot-hoplon

Boot task to build Hoplon web applications.
Eclipse Public License 1.0
8 stars 5 forks source link

hoplon task breaks when a deps.cljs file is added to the classpath #11

Open jumblerg opened 7 years ago

jumblerg commented 7 years ago

adding a ns declaration to the top of the deps file fixes this problem, but breaks the cljs compiler instead.

Writing HTML files...
• index.html
java.lang.UnsupportedOperationException: nth not supported on this type: PersistentArrayMap
                                       ...
hoplon.boot-hoplon.compiler/compile-string     compiler.clj:  124
                                       ...
                        clojure.core/apply         core.clj:  636
  hoplon.boot-hoplon.compiler/compile-file     compiler.clj:  149
                                       ...
            hoplon.boot-hoplon.impl/hoplon         impl.clj:   46
                                       ...
                        clojure.core/apply         core.clj:  630
                     boot.pod/eval-fn-call          pod.clj:  328
                         boot.pod/call-in*          pod.clj:  379
                                       ...
                         boot.pod/call-in*          pod.clj:  382
      hoplon.boot-hoplon/eval2889/fn/fn/fn  boot_hoplon.clj:  182
            boot.task.built-in/fn/fn/fn/fn     built_in.clj:  167
      boot.task.built-in/fn/fn/fn/fn/fn/fn     built_in.clj:  348
         boot.task.built-in/fn/fn/fn/fn/fn     built_in.clj:  348
            boot.task.built-in/fn/fn/fn/fn     built_in.clj:  345
                       boot.core/run-tasks         core.clj:  938
                         boot.core/boot/fn         core.clj:  948
       clojure.core/binding-conveyor-fn/fn         core.clj: 1916