Mercurial > projects > ddmd
diff dmd/IsExp.d @ 13:427f8aa74d28
On the road to make Phobos compilable
author | korDen |
---|---|
date | Mon, 12 Apr 2010 16:29:33 +0400 |
parents | 10317f0c89a5 |
children | 24674203f62c |
line wrap: on
line diff
--- a/dmd/IsExp.d Mon Apr 12 15:13:00 2010 +0400 +++ b/dmd/IsExp.d Mon Apr 12 16:29:33 2010 +0400 @@ -259,7 +259,7 @@ Dsymbol s = TemplateDeclaration.declareParameter(loc, sc, tp, o); } if (sc.sd) - s.addMember(sc, sc.sd, 1); + s.addMember(sc, sc.sd, true); } goto Lyes; @@ -305,7 +305,7 @@ if (!sc.insert(s)) error("declaration %s is already defined", s.toChars()); if (sc.sd) - s.addMember(sc, sc.sd, 1); + s.addMember(sc, sc.sd, true); } //printf("Lyes\n"); return new IntegerExp(loc, 1, Type.tbool);