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: [email protected]
Reporter: [email protected]
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.
--
