Mercurial > projects > dstress
view compile/bug_dsymbol_611_C.d @ 1330:f3f715978184
Georg Wrede <georg@iki.fi>
2007-01-07
mail:45A120F5.1050108@iki.fi
author | thomask |
---|---|
date | Sat, 13 Jan 2007 10:33:49 +0000 |
parents | 32f7f8ce5e51 |
children | 52c9e86b6486 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ h3r3tic <foo@bar.baz> // @date@ 2004-12-26 // @uri@ news:cqml2m$1ujj$1@digitaldaemon.com // @url@ nntp://digitalmars.com/digitalmars.D.bugs/2604 module dstress.compile.bug_dsymbol_611_C; interface INode{ INode owner(); } class BasicNode : INode{ INode findNode(){ foreach(INode c ; m_children){ if(!(c.owner is this)) continue; return null; } } INode owner(){ return this; } INode[] m_children; }