DIP33: A standard exception hierarchy - finally blocks not executed for Errors
Andrej Mitrovic
andrej.mitrovich at gmail.com
Tue Apr 2 05:17:50 PDT 2013
On 4/1/13, Walter Bright <newshound2 at digitalmars.com> wrote:
> On 4/1/2013 4:08 AM, Lars T. Kyllingstad wrote:
>> It's time to clean up this mess.
>
>
> As for why finally blocks are not executed for Error exceptions
They seem to be executed:
void main()
{
try
{
throw new Error("");
}
finally
{
assert(0);
}
}
This will throw an AssertError.
More information about the Digitalmars-d
mailing list