Closed fogus closed 13 years ago
This is fixed with the new parser. By the way, I didn't even knew protocols could take docstrings!
They can also take docstrings in the function sigs: (foo [this] "a docsstring goes here")
Yes, I knew about that tough. These will be left in the code panel and I'm not sure there's a way to fix that. I've also found out a small problem with the new parser, multimethods will all have the defmulti docstring, I'm looking into how to fix that.
This will generate proper docs:
This will fail to gen proper docs:
The problem is that the parser assume that the doc-able thing has some sort of body after the doc, but that is not always the case for
ns
.