https://issues.dlang.org/show_bug.cgi?id=12794
Issue ID: 12794
Summary: ddoc does not properly support code snippets for
documented parameters
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: ddoc
Severity: enhancement
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
The ddoc output of this function looks bad:
-----
foo.
Params:
name = name
callback = A callback. Example of the callback:
-----
void someCallback();
{
int x;
}
-----
etc = etc
*/
void foo(string name, void function() callback, int etc);
-----
The location of the "void function() callback" parameter is stuck at the left
of the code snippet instead of the beginning of the description which was: "A
callback. Example of the callback: "
--