November 16, 2020 [Issue 21400] New: DDoc skips version else blocks inside templates | ||||
|---|---|---|---|---|
| ||||
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: nobody@puremagic.com Reporter: snarwin+bugzilla@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. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply