Mercurial > projects > dstress
diff nocompile/super_09.d @ 402:a56ff70d7187
fixed inheritance
author | thomask |
---|---|
date | Thu, 07 Apr 2005 18:24:52 +0000 |
parents | f87ba6507260 |
children | 9e0847cf535a |
line wrap: on
line diff
--- a/nocompile/super_09.d Thu Apr 07 18:24:25 2005 +0000 +++ b/nocompile/super_09.d Thu Apr 07 18:24:52 2005 +0000 @@ -3,7 +3,7 @@ // $Base$ // @author@ Thomas Kuehne <thomas-dloop@kuehne.thisisspam.cn> -// @date@ 200-12-10 +// @date@ 2004-12-10 // @uri@ news:sr8p82-lu3.ln1@kuehne.cn // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2528 @@ -20,9 +20,9 @@ } } -class Child{ +class Child : Parent{ this(){ - status = cast(int) this; + status = cast(int) &this; super(0); } }