this as lvalue?
Andrej Mitrovic
andrej.mitrovich at gmail.com
Sun Sep 5 15:02:10 PDT 2010
Does this mean assigning to fields won't be an option anymore when using this?
E.g.:
class Foo
{
int x;
int y;
void changeXY(int x, int y)
{
this.x = x;
this.y = y;
}
}
On Sun, Sep 5, 2010 at 6:09 PM, JMRyan <nospam at nospam.com> wrote:
> Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote in
> news:i5rovm$1q4b$1 at digitalmars.com:
>>
>> For classes this must be an rvalue.
>>
>> Andrei
>
> I reported this as issue 4819.
>
More information about the Digitalmars-d
mailing list