Thanks! Leonardo Borges www.leonardoborges.com
On Tue, Jan 15, 2013 at 11:08 AM, Sean Corfield <seancorfi...@gmail.com>wrote: > See http://dev.clojure.org/jira/browse/CLJ-1140 > > On Mon, Jan 14, 2013 at 3:57 PM, Leonardo Borges > <leonardoborges...@gmail.com> wrote: > > Hi all, > > > > A user reported a bug in my library and after tracking it down it turned > our > > to only happen on Clojure 1.5.0-RC1. > > > > Here's the behaviour in 1.4.0: > > > > (let [{:keys [message] :or {message "foo"}} '()] message) > > ;; "foo" > > > > And here's what happens in 1.5.0-RC1: > > > > (let [{:keys [message] :or {message "foo"}} '()] message) > > IllegalArgumentException No value supplied for key: null > > clojure.lang.PersistentHashMap.create (PersistentHashMap.java:77) > > > > > > I worked around it by doing the destructuring in two steps in my library > but > > I'm wondering is this is intended behaviour? > > > > And if so, I'm sure it's been discussed somewhere - maybe JIRA? - if > someone > > would be so kind as to point me to the ticke, that'd be much appreciated. > > > > Cheers, > > Leonardo Borges > > www.leonardoborges.com > > > > -- > > 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 > > > > -- > Sean A Corfield -- (904) 302-SEAN > An Architect's View -- http://corfield.org/ > World Singles, LLC. -- http://worldsingles.com/ > > "Perfection is the enemy of the good." > -- Gustave Flaubert, French realist novelist (1821-1880) > > -- > 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 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