Summary: Iterating an empty result returned by match() crashes
                    the application
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Dorel P�slan <> 2010-10-18 11:50:17 PDT ---
Created an attachment (id=785)
Full D program that reproduces bug.

In this code:

 foreach( r; result.captures)
catch(Exception * exc)
  //we never get here

if result is empty the application exits. And no exception is caught.

Full program attached.

Tested with D2 compiler. Version: not specified. Size: 1.340.444 bytes

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

Reply via email to