Please reply to this to vote to collectExceptionMsg in std.unittests

Don nospam at nospam.com
Wed Feb 9 01:48:43 PST 2011


Andrei Alexandrescu wrote:
> Reply here to vote ONLY for the function collectExceptionMsg in Jonathan 
> M Davis's std.unittests. Vote closes on Tue Feb 15.
> 
> Andrei

++vote.

It's worth noting that the exception chaining (as implemented in the 
Windows version of the next DMD2) means that it is possible for an 
exception to have a chain of messages attached to it. I'm not sure if 
this makes any difference or not -- it *could* be that we also want 
assert(e.next is null); inside collectExceptionMsg(), to make sure that 
there were no collateral exceptions. Or maybe we don't care -- but it 
needs to be mentioned in the docs.



More information about the Digitalmars-d mailing list