https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101657
Bug ID: 101657 Summary: d: di header file created even if errors occur Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: ibuclaw at gdcproject dot org Target Milestone: --- The correct behaviour would be to remove the .di file if an error occurred during compilation. --- module test; import std.foo; // force error