diff --git a/dmd/expression.c b/dmd/expression.c index ddf71ea0..516c6f21 100644 --- a/dmd/expression.c +++ b/dmd/expression.c @@ -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) { diff --git a/dmd2/expression.c b/dmd2/expression.c index b2af49c2..7212c51f 100644 --- a/dmd2/expression.c +++ b/dmd2/expression.c @@ -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) {