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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 18 18:25:16 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=1161

hsteoh at quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh at quickfur.ath.cx
            Version|D1 & D2                     |D1

--- Comment #9 from hsteoh at quickfur.ath.cx ---
Seems to have been fixed in git HEAD (D2): the compiler now says, for the
original test case:

static_a.d(4): Error: class static_b.Test member counter is not accessible

Removing D2 tag.

--


More information about the Digitalmars-d-bugs mailing list