mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-21 07:13:13 +01:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user