Missing compiler warning?

Timon Gehr timon.gehr at gmx.ch
Fri Oct 18 13:13:27 PDT 2013


On 10/18/2013 08:26 PM, bearophile wrote:
>
> That example of yours shows a possible intermediate rule: when in a
> method you define a local variable that has the same name as an instance
> member, then the instance member must be referred with the "this."
> prefix inside that function. So that code will compile.

We already have this rule.


More information about the Digitalmars-d mailing list