Merged DMD commit 4d2df2f624a09a53cd0f021ed0a0236cd7442e47:

bugzilla 4728 Segfault(toctype.c) by protected/private constructor in an other module
This commit is contained in:
David Nadlinger
2011-04-22 18:32:06 +02:00
parent 1379b4b8d3
commit a632331218

View File

@@ -253,7 +253,6 @@ void AggregateDeclaration::accessCheck(Loc loc, Scope *sc, Dsymbol *smember)
if (!result)
{
error(loc, "member %s is not accessible", smember->toChars());
halt();
}
}