Bug 13069 – Missing doc-comment for alias this, this(this)

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2014-07-07T16:38:34Z
Last change time
2024-12-13T18:21:58Z
Keywords
ddoc
Assigned to
No Owner
Creator
Nick Treleaven
Moved to GitHub: dmd#18847 →

Comments

Comment #0 by nick — 2014-07-07T16:38:34Z
Ddoc only generates documentation for F in this code: /// struct F { int i; /// desc alias i this; } It should be possible to document 'alias this' in the same way as normal 'alias' declarations.
Comment #1 by nick — 2014-07-08T10:25:07Z
Also the doc-comment doesn't appear for a disabled postblit: /// struct G { /// disabled @disable this(this); }
Comment #2 by nick — 2014-07-08T10:43:49Z
Actually all postblits are not shown in the output: /// struct H { /// postblit this(this); } Another note is that a disabled default constructor *does* show in the output, although it doesn't show the '@disable' attribute, which should be added.
Comment #3 by b2.temp — 2019-11-03T21:12:38Z
*** Issue 14867 has been marked as a duplicate of this issue. ***
Comment #4 by robert.schadek — 2024-12-13T18:21:58Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18847 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB