digitalmars.D - Re: Arguments and attributes with the same name
- bearophile <bearophileHUGS lycos.com> Mar 04 2010
Clemens:As soon as you have an instance variable x and a function parameter x, there will *always* be ambiguity (unless you don't use the parameter). Requiring the use of "this." amounts to disallowing access to the parameter x.<
Thank you for spotting my stupid idea :o) I will update the enhancement request with this note of yours. Bye, bearophile
Mar 04 2010