Release D 2.071.0

Kagamin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Apr 6 10:15:26 PDT 2016


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.


More information about the Digitalmars-d-announce mailing list