D's design by contract is missing "old"?

Jari-Matti Mäkelä jmjmak at utu.fi.invalid
Tue Jun 19 02:02:30 PDT 2007


Russ Williams wrote:

> Deewiant Wrote:
>> Yeah, except: http://d.puremagic.com/issues/show_bug.cgi?id=302
> 
> Hmm, that sucks.  I start to get the feeling that DbC is not really taken
> seriously in D. :(

I created a simple metaprogram that adds DbC inheritance and old objects:

http://paste.dprogramming.com/dpu2y075.php

It's just a temporary workaround - the syntax is bad and it does not parse
all declarations nicely. Still, better than nothing :)


More information about the Digitalmars-d-learn mailing list