Should it be a compile time error?

deed none at none.none
Wed Jun 19 04:47:43 PDT 2013


> /* SNIP */
>
>>    int var() @property
>>    {
>>        return var;
>>    }
>
> Isn't the problem in this property function?  (Shouldn't it 
> return _var :o)

that's also an error. changing to _var gives same result though..


More information about the Digitalmars-d-learn mailing list