On Fri, Jan 27, 2012 at 1:26 AM, philip k <trevo.pa...@gmail.com> wrote:
> Hi, I'm using cljs-watch to cross compile generic Clojure code into > both class files and js files using the latest master Clojurescript > checkout; this all works wonderfully until I try to add a (:require- > macros ...) directive as follows: > > // in xyz.base.view > > (ns xyz.base.view > (:require ... > (:require-macros [hs.base.macros :as monads])) > > // in xyz.base.macros > > (ns hs.base.macros) > > in which case the compiled xyz/base/view.js file is empty (0 bytes) > and the Clojurescript compiler doesn't produce any errors. When I > remove the (:require-macros ...) directive the js file is generated as > expected. > > Has anyone encountered a similar problem? Many thanks for any advice! Can you create a minimal test case with all the involved files and paste that somewhere? What is the hs.base.macros dependency? David -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en