www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18787] New: ddoc crashes on static foreach


          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: nobody puremagic.com
          Reporter: snarwin+bugzilla gmail.com

Attempting to generate documentation for the following code causes dmd to

--- 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

Apr 20 2018