Thread overview
[Issue 7399] New: Broken import statement in trySemantic() causes silent compiler error
Jan 30, 2012
klickverbot
Jan 30, 2012
klickverbot
Feb 12, 2012
Stewart Gordon
Feb 16, 2012
kennytm@gmail.com
Feb 23, 2012
Walter Bright
January 30, 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@puremagic.com
        ReportedBy: code@klickverbot.at


--- Comment #0 from klickverbot <code@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: -------
January 30, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7399


klickverbot <code@klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timon.gehr@gmx.ch


--- Comment #1 from klickverbot <code@klickverbot.at> 2012-01-30 08:47:44 PST ---
*** Issue 7400 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 12, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7399


Stewart Gordon <smjg@iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, rejects-valid
                 CC|                            |smjg@iname.com


--- Comment #2 from Stewart Gordon <smjg@iname.com> 2012-02-12 11:02:22 PST ---
Not sure that aborting without displaying an error message is technically an ICE, but it's as bad as one or worse...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 16, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7399


kennytm@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |kennytm@gmail.com


--- Comment #3 from kennytm@gmail.com 2012-02-16 06:30:32 PST ---
DMD pull #725.

https://github.com/D-Programming-Language/dmd/pull/725

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7399



--- Comment #4 from github-bugzilla@puremagic.com 2012-02-23 12:35:47 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/dd65cdc98ef51607aa030bcd5fced838b04d3954 Merge pull request #725 from kennytm/bug7399-import-too-fatal

Fix bug 7399: Broken import statement in trySemantic() causes silent compiler
error

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7399



--- Comment #5 from github-bugzilla@puremagic.com 2012-02-23 13:09:23 PST ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/1209c9c96696876e406719cb409485a928f91469
fix Issue 7399 - Broken import statement in trySemantic() causes silent
compiler error

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7399


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------