Thread overview
Deprecation
May 15, 2015
Manfred Nowak
May 15, 2015
Manfred Nowak
May 15, 2015
> Deprecation: super is not an lvalue

1) How to know when this will indeed be deprecated?
2) What does it mean, when `super++' is signalled as depracation, but
`super+=' is not signalled?

-manfred
May 15, 2015
On 5/15/15 12:50 PM, Manfred Nowak wrote:
>> Deprecation: super is not an lvalue
>
> 1) How to know when this will indeed be deprecated?
> 2) What does it mean, when `super++' is signalled as depracation, but
> `super+=' is not signalled?

That seems like a bug.

I think super being an lvalue in this context simply means that the *reference* is not an lvalue (e.g. you can't do super = someOtherObject), not the object it points at.

Clearly anything that is passed by reference is an lvalue.

-Steve
May 15, 2015
Steven Schveighoffer wrote:

> That seems like a bug.

https://issues.dlang.org/show_bug.cgi?id=14589

-manfred