Issue 1974 - What's your opinion?

kinke noone at nowhere.com
Fri Oct 25 18:03:20 UTC 2019


On Friday, 25 October 2019 at 17:49:15 UTC, Exil wrote:
> On Friday, 25 October 2019 at 01:20:02 UTC, kinke wrote:
>>     make!S() += 2;   // Error: `make()` is not an lvalue and 
>> cannot be modified
>
> That error message is deceptive.

Yes, of course; I mentioned it to illustrate that the lvalue 
check apparently precedes that check, while the opOpAssign 
lowering seems to precede the lvalue check, and that's what I see 
as leaking implementation detail.


More information about the Digitalmars-d mailing list