Details
-
Type:
Defect
-
Status:
In Progress
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Approval:Test
Description
Apparently, defttrace does not support functions with doc-strings. I tried replacing defn with deftrace in a function of mine (as the docs indicated) and I got the following error -
java.lang.IllegalArgumentException: Don't know how to create ISeq from: Symbol </code></pre> Sample code to reproduce the error - <pre><code>(deftrace fact "Calculate the factorial of x" [x] (if (< x 1) 1 (* x (fact (- x 1)))))
Would be great if this bug is fixed, all my functions have doc-strings ![]()