Page MenuHomePhabricator

mono-docs: merge property and get/set docs in output
Open, HighPublic

Description

In documentation.hh, method generate_property() it first takes docs from setter/getter and if they are empty, uses docs from the property as a fallback, but this is not how that is supposed to work.
In setter and getter methods, property docs should always be used (when available) followed by setter or getter docs (when available).
I am not sure what documentation should properties have, because setter and getter docs might have relevant information...

Also, I no longer know how to detect non-existing docs, since Eolian seems to return "No description supplied" for them :/