[Issue 1161] Access to private static members is allowed from other module.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 4 19:10:31 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1161





------- Comment #1 from tomas at famolsen.dk  2008-05-04 21:10 -------
Adding the following line to expressions.c(VarExp::semantic) catches it:

// check access to VarDeclaration
accessCheck(loc, sc, NULL, var);


-- 



More information about the Digitalmars-d-bugs mailing list