[Issue 21399] New: DDoc doesn't document symbols inside static foreach loops
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Nov 16 20:59:33 UTC 2020
    
    
  
https://issues.dlang.org/show_bug.cgi?id=21399
          Issue ID: 21399
           Summary: DDoc doesn't document symbols inside static foreach
                    loops
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: snarwin+bugzilla at gmail.com
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.
--
    
    
More information about the Digitalmars-d-bugs
mailing list