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!

This commit is contained in:
Tomas Lindquist Olsen
2008-12-10 13:56:10 +01:00
parent 637c59a422
commit c14996f39e
2 changed files with 0 additions and 8 deletions

View File

@@ -3761,10 +3761,6 @@ Expression *VarExp::semantic(Scope *sc)
#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)
{

View File

@@ -3829,10 +3829,6 @@ Expression *VarExp::semantic(Scope *sc)
#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)
{