Closed guns closed 11 years ago
I pulled the trigger a little too early on this one, sorry. There are some cases where pre-processing of the macro arguments fail, but I think there may be a clever solution. I will re-open this pull request when I find a solution.
Nearly 5 years later, slamhound still doesn't recognize references to imports in macros...
"Slamhound will only find references to vars in a namespace that are consumed within the namespace itself."
A simple solution to this problem is to consume the macro from within the namespace!
If we append (defn) forms that simply call the macro with all declared arglists (quoted to protect against evaluation), slamhound's exception-based approach to ns reconstruction still works for forms declared within defmacro.
Addresses issue #19
NOTE: