If I remember correctly, this is a bug due to the fact that constant empty literals are handled in a special way from the compiler. Il giorno 19/mar/2013 08.49, "Marko Topolnik" <marko.topol...@gmail.com> ha scritto:
> The way speed is achieved for :const is that it is given the same >> treatment as Java's *compile-time constants*, so you're not even >> touching the var when you refer to it by name. Now, *meta* could be >> accepted as a special case, explicitly detected by the compiler, but that >> mechanism would once again be easily defeated. So I'd say it's not a bug, >> but a case of *you can't have your cake and eat it, too.* >> > > On second thought, I my be wrong since the meta is not on the var, but on > the map object itself. Maybe it really is just a bug due to which the > compiled-in value doesn't have metadata copied to it. > > -marko > > > -- > -- > 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/groups/opt_out. > > > -- -- 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/groups/opt_out.