# HG changeset patch # User Tomas Lindquist Olsen # Date 1228913770 -3600 # Node ID 783f67fbdf4a2bc8870d6f3d2c0c6ae090cbbe43 # Parent a125ada7fd95cec70d17bcb7d7f5e72209f58df4 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! diff -r a125ada7fd95 -r 783f67fbdf4a dmd/expression.c --- a/dmd/expression.c Tue Dec 09 18:45:25 2008 +0100 +++ b/dmd/expression.c Wed Dec 10 13:56:10 2008 +0100 @@ -3761,10 +3761,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) { diff -r a125ada7fd95 -r 783f67fbdf4a dmd2/expression.c --- 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) {