"with" should be deprecated with extreme prejudice

BCS none at anon.com
Sun May 17 20:17:21 PDT 2009


Hello Andrei,

> BCS wrote:
> 
>> Hello Andrei,
>> 
>>> Robert Fraser wrote:
>>> 
>>>> This. Just issue an error/warning if something in the with shadows
>>>> something outside. That way, if the struct/class/template/whatever
>>>> changes, affected code will be notified.
>>>> 
>>> No warning, error!
>>> 
>> warning if it exist, error if used?
>> 
> I go with Walter's stance: either compiles or not. Warnings suck.
> 
> Andrei
> 

warningd are optional and off by default.





More information about the Digitalmars-d mailing list