JESS: [EXTERNAL] Docstrings in from-class deftemplates

classic Classic list List threaded Threaded
1 message Options
hlc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

JESS: [EXTERNAL] Docstrings in from-class deftemplates

hlc
Hi,

Is there a limitation on the use of documentation strings on deftemplates using the from-class declaration?
I have something like:

(deftemplate Foo extends Bar
    "Documentation string for Foo"
    (declare (from-class Foo)) )

Whe accessing the docstring as per Deftemplate.getDocstring(), I am getting something like "$JAVA-OBJECT$ Foo", instead of the documentation string proper.

Am I missing something?

Thanks.

Henrique

Loading...