[Issue 11574] New: Improper behavior of scope(failure)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 21 18:40:31 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11574

           Summary: Improper behavior of scope(failure)
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: shammah.chancellor at gmail.com


--- Comment #0 from Shammah Chancellor <shammah.chancellor at gmail.com> 2013-11-21 18:40:30 PST ---
It was brought to my attention that scope(failure) can prevent the bubbling of
exceptions by returning from the failure statement.   This is bad behavior as
scope failures can unintentionally prevent other scope failures from occurring.

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


More information about the Digitalmars-d-bugs mailing list