https://issues.dlang.org/show_bug.cgi?id=21400
Issue ID: 21400 Summary: DDoc skips version else blocks inside templates Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: snarwin+bugzi...@gmail.com Example program: --- /// My cool struct struct S(T) { version (none) {} else /// My cool method void method() {} } --- As of DMD 2.094.0, the DDoc output of this program (compiled with `dmd -c -D`) contains documentation for S, but not for method. --