The type below parses OK, but the comment does not appear in the pldoc output. Adding a @headcom helps, but that ought to not be necessary.
Eirik
:::sql
/**
* Sample type, with two values.
*
* The default (implicit) constructor has all fields, in
* order, so pldoc must preserve the variable order in output.
* Create as sample_type(start_date, end_date).
*
* This comment should be in the output, too, as a description
* of the type.
*/
CREATE OR REPLACE TYPE sample_type AS OBJECT
(
/** Start date. First parameter, hence first parameter in constructor. */
start_date date,
/** End date. Second value, hence second parameter in constructor */
end_date date
);
/