-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
If you write something like
#! @Description This category is defined as the intersection of two others.
DeclareSynonym( "IsMyIntersectionCategory", IsMyFirstCategory and IsMySecondCategory );
no documentation is produced. Looking at the code, this is not surprising; there is no code to recognize DeclareSynonym.
Note that a fix to this would also require a command to set the "type" of a declaration (Func/Filt/Meth/Constr/etc.) since there is no way to infer from a DeclareSynonym the type of the entity being declared, since it is simply the same as whatever it's being made a synonym of.
I have proposed code that adds support for DeclareSynonym, among several changes, which I will post soon.