On Thu, Jan 17, 2013 at 3:06 PM, AtKaaZ <atk...@gmail.com> wrote: > hey, just going to let people know about the following exception happening > when you have something like this(bad): > > (ns runtime.util-test > (:use [midje.sweet :reload-all])) > > as opposed to any of these(correct): ... > Exception in thread "main" java.lang.IllegalArgumentException: No value > supplied for key: true > at clojure.lang.PersistentHashMap.create(PersistentHashMap.java:77)
Yup, it's definitely not a very helpful error message. I run into often enough that I've mentally translated it to "missing an argument from a map, or keyword / value vector used as a map". It can happen in argument destructuring as well (and probably a few other places). Definitely a case of better error checking being useful further up the stack (in the `use` function in this case)... I created an enhancement issue for it: http://dev.clojure.org/jira/browse/CLJ-1149 -- 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