[Issue 2456] "cannot put catch statement inside finally block"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 3 14:29:52 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=2456


Ali Cehreli <acehreli at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |acehreli at yahoo.com


--- Comment #1 from Ali Cehreli <acehreli at yahoo.com> 2011-11-03 14:29:20 PDT ---
I hit the same problem with dmd 2.056. Here is a simpler code:

void main()
{
    scope(exit) try{} catch {}
}

Notes:

1) In this case the line number is printed correctly in the error message.

2) It is the same issue with scope(success)

-- 
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