[Issue 2830] private attribute doesn't work for structs/unions/classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 10 12:18:20 PDT 2009


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


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.027                       |1.043




------- Comment #3 from smjg at iname.com  2009-04-10 14:18 -------
What is 'a'?  That line doesn't seem to have anything to say.

But this code, compiled with the same tmp1.d, has something to say:

----------
import tmp1;

void main() {
    TestStruct s;
    TestUnion u;
    auto c = new TestClass;
    auto sv = s.var;
    auto uv = u.var;
    auto cv = c.var;
    auto v = var;
}


-- 



More information about the Digitalmars-d-bugs mailing list