I hate class destructors with a burning passion
sighoya
sighoya at gmail.com
Thu Jun 10 22:59:54 UTC 2021
On Thursday, 10 June 2021 at 19:20:23 UTC, Kagamin wrote:
> Now that I think about it, array bounds error is an array
> contract error, which will make most errors contract errors,
> with little left for other errors.
Contracts are not a mandatory part of the semantic, they can be
wiped out leading to inconsistencies when executing code.
Therefore, we still need the other errors. Anyway, why should an
OutOfBounds error not be a subtype of an AssertionError?
More information about the Digitalmars-d
mailing list