https://issues.dlang.org/show_bug.cgi?id=13501

RazvanN <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #8 from RazvanN <[email protected]> ---
I cannot reproduce the crash. I'm getting the failure exception being thrown.
That's because the scope(failure) simply rewrites to:

int careful()
{
    try
    {
        scope(success) throw new Exception("Success");
        return victim();
    }
    catch(Exception)
    {
        throw new Exception("Failure");
    }
} 

Is this on par with your expectations Vladimir?

--

Reply via email to