Bug 21399 – DDoc doesn't document symbols inside static foreach loops

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2020-11-16T20:59:33Z
Last change time
2024-12-13T19:12:50Z
Keywords
ddoc
Assigned to
No Owner
Creator
Paul Backus
Moved to GitHub: dmd#17999 →

Comments

Comment #0 by snarwin+bugzilla — 2020-11-16T20:59:33Z
Example program: --- import std.meta: AliasSeq; /// My cool struct struct S { static foreach (T; AliasSeq!(int, string, double)) /// My cool method void method(T t) {} } --- As of DMD 2.094.0, the DDoc output for this program (compiled with `dmd -c -D`) contains documentation for S, but not for method.
Comment #1 by robert.schadek — 2024-12-13T19:12:50Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17999 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB