defmacro returns nil

9 views
Skip to first unread message

Christophe Grand

unread,
Jan 19, 2009, 4:38:02 AM1/19/09
to clo...@googlegroups.com
Hello,

While playing with clojure.contrib.test-is/with-test I realized that I
was unable to use with-test with macros because the form (defmacro foo
[bar]) returns nil and not #'foo.
Please find attached a patch.

Christophe

defmacro-returns-var.patch

Rich Hickey

unread,
Jan 20, 2009, 9:23:07 AM1/20/09
to Clojure
Thanks - would you please post this as an issue?

Rich

Christophe Grand

unread,
Jan 20, 2009, 9:29:30 AM1/20/09
to clo...@googlegroups.com
Rich Hickey a écrit :

> Thanks - would you please post this as an issue?
>
Well. Already turned this mail into an issue (#51). For such issues,
should one directly open an issue without posting to the group?

Christophe

Rich Hickey

unread,
Jan 20, 2009, 10:03:00 AM1/20/09
to Clojure
For now I'd like to stick with first vetting bugs either here on the
group, or if you catch me on the #clojure IRC.

Patches should always be attached to issues.

Thanks,

Rich
Reply all
Reply to author
Forward
0 new messages