Mercurial > projects > ldc
diff dmd2/expression.c @ 841:783f67fbdf4a
Removed insufficient fix for DMD bug 1161, it was causing problems with instantiating imported templates, and passing private variables as aliases. I failed to come up with a proper fix!
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 10 Dec 2008 13:56:10 +0100 |
parents | f04dde6e882c |
children | 356e65836fb5 |
line wrap: on
line diff
--- a/dmd2/expression.c Tue Dec 09 18:45:25 2008 +0100 +++ b/dmd2/expression.c Wed Dec 10 13:56:10 2008 +0100 @@ -3829,10 +3829,6 @@ #endif } - // LDC: Fixes bug 1161, http://d.puremagic.com/issues/show_bug.cgi?id=1161 - // check access to VarDeclaration - accessCheck(loc, sc, NULL, var); - VarDeclaration *v = var->isVarDeclaration(); if (v) {