www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Deprecation

reply Manfred Nowak <svv1999 hotmail.com> writes:
 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
parent reply Steven Schveighoffer <schveiguy yahoo.com> writes:
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
parent Manfred Nowak <svv1999 hotmail.com> writes:
Steven Schveighoffer wrote:

 That seems like a bug.
https://issues.dlang.org/show_bug.cgi?id=14589 -manfred
May 15 2015