[Issue 7254] New: [ICE backend\cod3.c 446] With wrong return in	try-catch
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Jan  9 12:27:50 PST 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=7254
           Summary: [ICE backend\cod3.c 446] With wrong return in
                    try-catch
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2012-01-09 12:27:48 PST ---
alias immutable(char)[1] Foo;
Foo bar() {
    try {
        return ""; // wrong
    } catch (Exception e) {
        Foo result;
        return result;
    }
}
void main() {}
DMD 2.058head:
Internal error: backend\cod3.c 446
-- 
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