Thread overview
[Issue 3008] Members of non-lvalues (rvalues) can be assigned to.
Sep 27, 2019
RazvanN
Dec 17, 2022
Iain Buclaw
September 27, 2019
https://issues.dlang.org/show_bug.cgi?id=3008

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com

--- Comment #23 from RazvanN <razvan.nitu1305@gmail.com> ---
Andrei recently made a PR to the spec to clarify the definition of rvalues/lvalues, the result of which can be seen here [1]. It clearly states:

"Definition ("Lvalue"): [...]

a variable or the result of the DotIdentifier grammatical construct . (left side may be missing) when the rightmost side of the dot is a variable, field (direct or static), function name, or invocation of a function that returns by reference;"

Acoording to these rules, this bug report is invalid.

[1] https://dlang.org/spec/expression.html

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=3008

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--
December 13
https://issues.dlang.org/show_bug.cgi?id=3008

--- Comment #24 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/18026

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--