[Issue 21400] DDoc skips version else blocks inside templates

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 9 17:25:40 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=21400

--- Comment #2 from Paul Backus <snarwin+bugzilla at gmail.com> ---
I think it's expected (or at least accepted as a known limitation) that DDoc
will skip declarations that are excluded from compilation by `version` blocks.
The bug here is specifically that it skips a declaration that is *included* in
the compilation.

(Note the `else` at the end of the line with the `version` condition.)

--


More information about the Digitalmars-d-bugs mailing list