Metadata attaches to the form following it, so I would read this (with my Clojure Reader hat on) as:
( read list begin meta read symbol #_ read and discard next form ^ read meta and form, then apply meta to form :hello read keyword [] read vector ... apply :hello as meta to [] ... discard [] with metadata ) end list which would yield a final form: (meta), which should throw an arity exception. So looks correct to me. On Thu, Dec 13, 2018 at 11:25 AM Mark <markaddle...@gmail.com> wrote: > Hi Alex - > > Not sure if this is a bug or spec'd behavior. When combining the reader > literal for comments with the reader literal for metadata, I get unexpected > behavior: > >> (meta #_^:hello []) >> > yields a compilation error. I get the same error in 1.9.0. > > On Wednesday, December 12, 2018 at 8:43:32 AM UTC-8, Alex Miller wrote: >> >> Thanks for the feedback!! >> >> On Wed, Dec 12, 2018 at 10:36 AM 'Avi Flax' via Clojure < >> clo...@googlegroups.com> wrote: >> >>> My test suite passes just fine. My project uses Java interop for various >>> things, including watching the filesystem for changes (via JNA), clipboard >>> IO, image processing, etc. Also some spec and core.async in there too. >>> >> -- > 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 a topic in the > Google Groups "Clojure" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/clojure/K74chBn4Pis/unsubscribe. > To unsubscribe from this group and all its topics, 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.