plumatic/schema

WARNING: Inst already refers to: cljs.core/Inst

tmarble opened this issue · 3 comments

With [prismatic/schema "1.1.3"] and [org.clojure/clojurescript "1.9.93" :scope "provided"]
loading schema.core provokes this warning:

WARNING: Inst already refers to: cljs.core/Inst being replaced by: schema.core/Inst at line 398 out/schema/core.cljs

The CLJS definition is here

The Schema definition is here

And we still get the warning despite the exclude ???

w01fe commented

Hmmm, haven't seen that before. Are you sure you aren't getting an earlier
version of Schema through a transitive dependency?

On Tue, Jul 26, 2016 at 11:47 PM, Tom Marble notifications@github.com
wrote:

With [prismatic/schema "1.1.3"] and [org.clojure/clojurescript "1.9.93"
:scope "provided"]
loading schema.core provokes this warning:

WARNING: Inst already refers to: cljs.core/Inst being replaced by: schema.core/Inst at line 398 out/schema/core.cljs

The CLJS definition is here
https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/core.cljs#L1272

The Schema definition is here
https://github.com/plumatic/schema/blob/master/src/cljx/schema/core.cljx#L398

And we still get the warning despite the exclude
https://github.com/plumatic/schema/blob/master/src/cljx/schema/core.cljx#L78
???


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#367, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIPpqrijCGMgssnDBwFXJG-CsniRF-uks5qZh4WgaJpZM4JVOfn
.

Gah! That was it! I hadn't pushed one of my newly updated libraries (using Schema) to my local repo prior to testing the application.

Thanks!

w01fe commented

Great, thanks for the update!

On Wed, Jul 27, 2016 at 12:30 AM, Tom Marble notifications@github.com
wrote:

Closed #367 #367.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#367 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIPpqDeD-i5L_XsIVoDsPflok1S9rWiks5qZigugaJpZM4JVOfn
.