On Sun, Sep 13, 2015 at 9:23 PM, Alex Miller <a...@puredanger.com> wrote:

> Can you be more specific about how you are loading the namespace?
>

Sorry for not getting back to you sooner, I did a little more experimenting
to no avail.  You can see it in action at migae datastore
<https://github.com/migae/datastore> .  Clone it, run

$ lein with-profile compile compile
$ lein repl

and you should see the WARNINGS.  Note that my :dev profile is configured
to add "dev" to the source path, so dev/user.clj is picked up; it requires
the offending library, migae.datastore.

Thanks,

Gregg


>
> I can't reproduce this with a pure Clojure repl or with a Leiningen repl
> on Clojure 1.7 or 1.8.
>
> On Sunday, September 13, 2015 at 6:23:37 PM UTC-5, Gregg Reynolds wrote:
>>
>> PS.
>>
>> REPL-y 0.3.5, nREPL 0.2.10
>> Clojure 1.7.0
>> Java HotSpot(TM) 64-Bit Server VM 1.8.0_45-b14
>>
>>
>> On Sun, Sep 13, 2015 at 6:21 PM, Gregg Reynolds <d...@mobileink.com>
>> wrote:
>>
>>> Just to be perverse, in my library I'm defining `print`.  So I get the
>>> usual warning:
>>>
>>> WARNING: print already refers to: #'clojure.core/print in namespace:
>>> migae.datastore, being replaced by: #'migae.datastore/print
>>>
>>> So I add a clause to my (ns...) form:
>>>
>>>   (:refer-clojure :exclude [print])
>>>
>>> This has no effect - I still get the warning.  What's wrong with this
>>> picture?
>>>
>>> Thanks,
>>>
>>> Gregg
>>>
>>
>> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to