www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Re: Package explain

Ary Borenszweig:
 Here goes my opinion about this again: any modifier that doesn't make 
 sense in a given context, should be a compiler error. This thread is and 
 example of what happens if this is not the case.

I agree in general, but recently someone in the main D newsgroup has explained me why the 'scope' attribute can't work in the way you like, so some leeway may be inevitable (but I presume less than the current one). Bye, bearophile
Aug 21 2008