should postconditions be evaluated even if Exception is thrown?

Walter Bright newshound1 at digitalmars.com
Thu Dec 3 01:17:20 PST 2009


Brad Roberts wrote:
> Walter Bright wrote:
>> Rory McGuire wrote:
>>> I would think that if a method in a class throws then at least the
>>> class' invariant should be run? does it?
>> No.
> 
> Do you consider that broken or correct?


Not sure.



More information about the Digitalmars-d mailing list