March 20, 2022
https://issues.dlang.org/show_bug.cgi?id=22906

          Issue ID: 22906
           Summary: DMD as a library hangs on semantic analysis of non
                    regular D files
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: contact@lsferreira.net

Given a Ddoc file, the module.fullSemantic() segfaults on null members list.

---

You can feed the lexer with a file as simple as "Ddoc".

--