Mercurial > projects > dstress
diff nocompile/bug_dsymbol_611_A.d @ 212:a1b5ea8ffe68
"!=" versus "!=="
h3r3tic <foo@bar.baz>
2004-12-26
news:cqml2m$1ujj$1@digitaldaemon.com
nntp://digitalmars.com/digitalmars.D.bugs/2604
author | thomask |
---|---|
date | Sun, 26 Dec 2004 21:33:40 +0000 |
parents | |
children | 1f6cf5ccfbc9 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/bug_dsymbol_611_A.d Sun Dec 26 21:33:40 2004 +0000 @@ -0,0 +1,26 @@ +// $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.nocompile.bug_dsymbol_611_A; + +interface INode{ + INode owner(); +} + +class BasicNode : INode{ + INode findNode(){ + foreach(INode c ; m_children){ + if(c.owner != this) + continue; + return null; + } + } + + INode[] m_children; +}