Summary: Destruction of temporaries on exception causes
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: wrong-code
          Severity: major
          Priority: P2
         Component: DMD

--- Comment #0 from Vladimir Panteleev <> 2011-07-13 
17:52:12 PDT ---
My reply about this issue on dmd-beta is pending moderation, but a bug about
this should probably be filed anyway.

import std.stdio;

void main()
    foreach (i; 0..100)
        foreach (line; File("test.d").byLine)

On Windows, when the above program is compiled with DMD from current git and
ran, it crashes with an unhandled exception (Windows displays two standard "has
stopped working" dialogs in succession).

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to