Mercurial > projects > ddmd
diff dmd/WithScopeSymbol.d @ 129:010eb8f0e18d
further work on dmd test suite
author | korDen |
---|---|
date | Sun, 05 Sep 2010 15:32:22 +0400 |
parents | e28b18c23469 |
children | e3afd1303184 |
line wrap: on
line diff
--- a/dmd/WithScopeSymbol.d Sat Sep 04 01:33:05 2010 +0100 +++ b/dmd/WithScopeSymbol.d Sun Sep 05 15:32:22 2010 +0400 @@ -13,12 +13,13 @@ this(WithStatement withstate) { - assert(false); + this.withstate = withstate; } override Dsymbol search(Loc loc, Identifier ident, int flags) { - assert(false); + // Acts as proxy to the with class declaration + return withstate.exp.type.toDsymbol(null).search(loc, ident, 0); } override WithScopeSymbol isWithScopeSymbol() { return this; }