core.exception.InvalidMemoryOperationError@(0)

Bayan Rafeh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 26 22:46:20 PST 2015


> but please, take my words with a grain of salt. i'm in no way a
> representative of D devs. that is how *i* understand 
> invariants. it seems to be consistent with the cases where 
> invariant works,

This is the first serious project I do with D, so I'm kind of 
discovering the language as I write my code. I found the 
contracts page and got overly excited about it, so you're 
probably right.

> but the designers may have different opinion, and don't have 
> time to
> properly fix invariant handling.

That's fair. Useful as it may be for debugging, it's something I 
can live without.


More information about the Digitalmars-d-learn mailing list