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

          Issue ID: 18787
           Summary: ddoc crashes on static foreach
           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

Attempting to generate documentation for the following code causes dmd to
segfault:

--- test.d
/**
 * The quick brown fox jumps over the lazy dog
 */
struct Test(Args...)
{
    static foreach (T; Args) {}
}
---

$ dmd -D -main test.d
Segmentation fault
$ dmd --version
DMD64 D Compiler v2.079.1

--

Reply via email to