Some things to fix

Robert Fraser fraserofthenight at gmail.com
Thu Jul 30 10:31:55 PDT 2009


Ary Borenszweig wrote:
> 2. modifiers that don't make sense should be disallowed.

There's been wars about this one. IMO, this is a good thing for writing 
templated/generic code -- if a modifier only makes sense in one instance 
of a template, all the others should not be marked as errors.

I think _conflicting_ modifiers should be made an error, i.e. "public 
private int x;".



More information about the Digitalmars-d mailing list