On Wednesday, 6 April 2016 at 13:05:31 UTC, sigod wrote:
        module test;
        
        struct S {
                package int field;
        }
        
        void main() {
                S s;
s.field = 1; // Deprecation: test.S.field is not visible from module test
        }


You need the module to be contained in a package. It's pretty old, AFAIK.

Reply via email to