Bug 12794 – ddoc does not properly support code snippets for documented parameters

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-05-24T11:27:29Z
Last change time
2024-12-13T18:21:00Z
Keywords
ddoc
Assigned to
No Owner
Creator
Andrej Mitrovic
Moved to GitHub: dmd#17661 →

Comments

Comment #0 by andrej.mitrovich — 2014-05-24T11:27:29Z
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: "
Comment #1 by andrej.mitrovich — 2014-05-24T11:28:14Z
In other words the vertical positioning is wrong.
Comment #2 by robert.schadek — 2024-12-13T18:21:00Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17661 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB