Yes {:foo :bar}

David

On Tue, Feb 3, 2015 at 12:35 PM, Andrew S <[email protected]>
wrote:

> Ok, can you clarify the type of map literal that would do this? I have
> not written any of my own macros on this app, but perhaps a library I
> depend on has them. By map literal, do you just mean a {:foo :bar}
> type of syntax, or something else? I also have not added any metadata
> myself to anything in the app using the caret or with-meta syntax.
>
> On Tue, Feb 3, 2015 at 6:29 PM, David Nolen <[email protected]>
> wrote:
> > The problem is metadata leakage. This has nothing to do with specifying
> > paths in your code. Somewhere you are writing map literals (perhaps in a
> > macro?) and compiler metadata is leaking.
> >
> > David
> >
> > On Tue, Feb 3, 2015 at 11:38 AM, Andrew S <[email protected]
> >
> > wrote:
> >>
> >> I can try to produce an example if I know where to start. There is
> >> nowhere in my app that I am specifying a path to a file, so I'm not
> >> sure where this is happening.
> >>
> >> On Tue, Feb 3, 2015 at 5:37 PM, David Nolen <[email protected]>
> >> wrote:
> >> > Looks like metadata leakage. Need a minimal example though.
> >> >
> >> > Thanks,
> >> > David
> >> >
> >> > On Tue, Feb 3, 2015 at 10:57 AM, Andrew S
> >> > <[email protected]>
> >> > wrote:
> >> >>
> >> >> Grepping over the files created by a :none optimization reveals the
> >> >> path in places like this:
> >> >>
> >> >> cljs.core.PersistentArrayMap(null, 5, [new
> >> >> cljs.core.Keyword(null,"end-column","end-column",1425389514),55,new
> >> >> cljs.core.Keyword(null,"end-line","end-line",1837326455),101,new
> >> >> cljs.core.Keyword(null,"column","column",2078222095),3,new
> >> >> cljs.core.Keyword(null,"line","line",212345235),96,new
> >> >>
> >> >>
> >> >>
> cljs.core.Keyword(null,"file","file",-1269645878),"/Users/andrew/path/to/file.cljs"],
> >> >> null)));
> >> >>
> >> >> Does this shed any light on the cause of this? I have no idea what
> >> >> this cljs.core.Keyword is doing with a file path.
> >> >>
> >> >> On Tue, Feb 3, 2015 at 4:30 PM, Mike Fikes <[email protected]>
> >> >> wrote:
> >> >> > Try the :pseudo-names compiler option to see what the :advanced
> code
> >> >> > is
> >> >> > referring to
> >> >> >
> >> >> > (
> https://github.com/clojure/clojurescript/wiki/Compiler-Options#pseudo-names
> ).
> >> >> >
> >> >> > --
> >> >> > Note that posts from new members are moderated - please be patient
> >> >> > with
> >> >> > your first post.
> >> >> > ---
> >> >> > You received this message because you are subscribed to a topic in
> >> >> > the
> >> >> > Google Groups "ClojureScript" group.
> >> >> > To unsubscribe from this topic, visit
> >> >> >
> >> >> >
> https://groups.google.com/d/topic/clojurescript/6qSmNpSQeI4/unsubscribe.
> >> >> > To unsubscribe from this group and all its topics, 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.
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> hellofunk
> >> >>
> >> >> --
> >> >> 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 a topic in the
> >> > Google Groups "ClojureScript" group.
> >> > To unsubscribe from this topic, visit
> >> >
> https://groups.google.com/d/topic/clojurescript/6qSmNpSQeI4/unsubscribe.
> >> > To unsubscribe from this group and all its topics, 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.
> >>
> >>
> >>
> >> --
> >> hellofunk
> >>
> >> --
> >> 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 a topic in the
> > Google Groups "ClojureScript" group.
> > To unsubscribe from this topic, visit
> > https://groups.google.com/d/topic/clojurescript/6qSmNpSQeI4/unsubscribe.
> > To unsubscribe from this group and all its topics, 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.
>
>
>
> --
> hellofunk
>
> --
> 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