Mercurial > projects > dstress
changeset 402:a56ff70d7187
fixed inheritance
author | thomask |
---|---|
date | Thu, 07 Apr 2005 18:24:52 +0000 |
parents | 50c0a07b95bd |
children | 180a3356c16a |
files | nocompile/super_09.d |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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); } }