Thread overview | |||||
---|---|---|---|---|---|
|
May 15, 2015 Deprecation | ||||
---|---|---|---|---|
| ||||
> 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 Re: Deprecation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manfred Nowak | 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 Re: Deprecation | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | Steven Schveighoffer wrote: > That seems like a bug. https://issues.dlang.org/show_bug.cgi?id=14589 -manfred |
Copyright © 1999-2021 by the D Language Foundation