Thanks Shaun that does the trick and is a nice improvement.

Julien

2014-10-10 10:58 GMT-03:00 Shaun LeBron <[email protected]>:

> (:require [secretary.core :as secretary :include-macros true])
> ; desugars to add=>  (:require-macros [secretary.core :as secretary])
>
> (:require [secretary.core :as secretary :refer-macros [defroute])
> ; desugars to add=> (:require-macros [secretary.core :as secretary :refer
> [defroute]])
>
> This changed to its original intended behavior so we can use :refer and
> :refer-macros together in the same require spec, without using a redundant
> `:include-macros true` as a separator to distinguish what we're referring.
>
> On Friday, October 10, 2014 8:29:07 AM UTC-5, Julien Eluard wrote:
> > Hi David,
> >
> >
> >
> > thanks once again for the continuous effort to improve the ClojureScript
> compiler.
> >
> >
> >
> > Some warnings are now printed when using a specific `include-macros`
> syntax. I wanted to confirm that this syntax was indeed incorrect.
> >
> > An example is: [secretary.core :as secretary :include-macros true :refer
> [defroute]]
> >
> >
> >
> > Is the proper way to include macros to rely on the top-level
> `require-macros` keyword?
> >
> >
> >
> > Thanks,
> >
> > Julien
> >
> >
> >
> > Le vendredi 10 octobre 2014 09:07:31 UTC-3, David Nolen a écrit :
> >
> > > ClojureScript, the Clojure compiler that emits JavaScript source code.
> >
> > >
> >
> > >
> >
> > >
> >
> > > README and source code: https://github.com/clojure/clojurescript
> >
> > >
> >
> > >
> >
> > >
> >
> > > New release version: 0.0-2371
> >
> > >
> >
> > >
> >
> > >
> >
> > > Leiningen dependency information:
> >
> > >
> >
> > >
> >
> > >
> >
> > >     [org.clojure/clojurescript "0.0-2371"]
> >
> > >
> >
> > >
> >
> > >
> >
> > > This release includes minor fixes, faster collection iterators, and
> >
> > >
> >
> > > stays in sync with the latest transducers changes in Clojure master.
> >
> > >
> >
> > >
> >
> > >
> >
> > > ### Fixes
> >
> > >
> >
> > > * CLJS-862: fix inconsistent re-pattern
> >
> > >
> >
> > > * CLJS-866: Faulty ns macro desugaring
> >
> > >
> >
> > > * CLJS-869: When preamble is not found in source directory, compiler
> >
> > >
> >
> > > does not report it
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to