[D-runtime] [D-Programming-Language/druntime] 1117e5: implemented proper exception chaining on Posix
Sean Kelly
sean at invisibleduck.org
Wed Mar 30 11:18:03 PDT 2011
On Mar 30, 2011, at 10:56 AM, Brad Roberts wrote:
> On 3/30/2011 10:51 AM, Sean Kelly wrote:
>> On Mar 30, 2011, at 10:47 AM, Sean Kelly wrote:
>>
>>> 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.
>>
>> Here's the output when I run eh.d on my OSX box. It looks like everything passed, though I'm not entirely sure about the "Never called" line:
>>
>
> Did you update it from git and/or enable the parts versioned to only run on windows?
Darnit, I didn't even check for a version switch in eh.d. I'll update and try again.
More information about the D-runtime
mailing list