[CLJ-1358] doc macro does not expand special cases properly Created: 17/Feb/14 Updated: 18/Jan/16
|Affects Version/s:||Release 1.6|
|Patch:||Code and Test|
The doc macro supports three special cases, mapping & to fn, catch to try, and finally to try. However, the macro does not currently expand these cases - it executes them like a function instead. This is evident if you use the following at a REPL:
Workaround: Call doc with the symbol to which the special case is mapped, fn or try.
Cause: Incorrect quoting when handling special cases in doc macro
Solution: Update special case quoting approach to match the other cases.
|Comment by Chad Taylor [ 17/Feb/14 10:41 PM ]|
Adding a patch with code and test.