You are going to need to talk to David Nolen about that. He decided that this 
should be handled in a separate issue than [1].

The implementation in shadow-build [2] (and my original patch) properly support 
:refer but I currently do not have the time to create a revised issue/patch for 
CLJS core.

Probably best to create a new JIRA issue like David suggested and vote it up.


[1] http://dev.clojure.org/jira/browse/CLJS-948
[2] https://github.com/thheller/shadow-build


On Sunday, March 1, 2015 at 7:10:59 AM UTC+1, Peter West wrote:
> Hi Thomas,
> 
> These changes work.  However, if in fancy.core I try to :refer to the 
> function I am interested in, the behaviour reverts always using the runtime.  
> That is, if I change the ns in fancy.core to:
> 
> (ns fancy.core
>   (:require
>     ;;[fancy.fancy :as fancy]
>     [fancy.fancy :refer [fun]]
>     )
>   )
> 
> Is this behaviour a necessary artefact of clojurescript macros, or just an 
> oversight in the code?  If it's necessary, can you tell my why?
> 

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to