As you noticed, there is no error handling for the case where you pass a bad spec to defrecord. In your example, the spec has method bodies but no protocol-or-interface-or-Object.
I have created a ticket for this at https://www.assembla.com/spaces/clojure/tickets/405-better-error-messages-for-bad-defrecord-calls.
The ticket comment includes instructions for how and where to patch this. If anyone has been frustrated by Clojure's error messages and is looking for an easy way to contribute, have at it. :-)
Stu
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@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+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
Do I need to have my CA on file before I can contribute? I have them
signed and ready to ship anyway...
Regards,
BG
--
Baishampayan Ghose <b.g...@ocricket.com>
oCricket.com