[Issue 22751] New: DMD as a library hang with fatal() on parseModule

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 8 23:38:34 UTC 2022


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

          Issue ID: 22751
           Summary: DMD as a library hang with fatal() on parseModule
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: contact at lsferreira.net

If Module.parseModule() is used on a file with, e.g. invalid BOM sequence, the
function instead of returning an invalidated AST node, it hangs the program
with exit code 1.

--


More information about the Digitalmars-d-bugs mailing list