[D-runtime] [D-Programming-Language/druntime] 1117e5: implemented proper exception chaining on Posix
Sean Kelly
sean at invisibleduck.org
Wed Mar 30 10:47:15 PDT 2011
On Mar 30, 2011, at 12:29 AM, Don Clugston wrote:
> On 30 March 2011 08:02, Brad Roberts <braddr at puremagic.com> wrote:
>>
>>
>> I just pushed a change set to the tests that make the TdplExceptionChaining the only code paths for test4.d and eh.d.
>> eh.d doesn't currently pass, but I figured trading the test4.d failure for the eh.d failure was a step in the right
>> direction.
>
> Note that the tests in eh.d are tough. It's currently failing the
> simplest one. Sean, you might want to take a close look at the tests,
> and also at the comments in deh.d
> The thing that's difficult is that you can have multiple chains of
> exceptions in flight at any given time. The most important feature is
> that chaining occurs only when the exception is handled (in a catch or
> finally), not when it's thrown, because this is when the collision
> actually happens.
That's when chaining occurs, but it's possible I screwed up something regarding the in-flight lookup process. I'll give it a look.
More information about the D-runtime
mailing list