Scope storage class

Walter Bright newshound1 at digitalmars.com
Fri Nov 28 01:29:49 PST 2008


Brad Roberts wrote:
> Accepting dubious 
> definitions like 'public private int foo' and the above make life harder 
> than it needs to be.

The code:

public private int foo;

produces the error message:

test.d(1): redundant protection attribute


More information about the Digitalmars-d-announce mailing list