Module level variable shadowing

dennis luehring via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 27 01:24:18 PDT 2014


Am 27.06.2014 10:20, schrieb dennis luehring:
> I
>>think we hit the sweet spot at restricting shadowing detection to local scopes.

sweet does not mean - use a better name or .x to avoid manualy hard to 
detect problems - its like disabled shadow detection in local scopes

what i don't understand - why on earth should someone want to shadow 
a(or better any) variable at all?


More information about the Digitalmars-d mailing list