[Issue 7399] New: Broken import statement in trySemantic() causes silent compiler error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 30 08:40:41 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7399
Summary: Broken import statement in trySemantic() causes silent
compiler error
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: code at klickverbot.at
--- Comment #0 from klickverbot <code at klickverbot.at> 2012-01-30 08:40:40 PST ---
Consider:
---
pragma(msg, __traits(compiles, { import non.existent.file; }));
---
Errors are gagged during sema of the import statement, but Module::read calls
fatal(), causing DMD to exit without any error message being printed.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list