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

Basile-z <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #8 from Basile-z <[email protected]> ---
It's actually specified to be a lvalue:

> The following expressions, and no others, are called lvalue expressions or 
> lvalues:
>
> [...]
>
> the result of the . PostfixExpression or Module Scope Operator 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;

https://dlang.org/spec/expression.html#.define-lvalue

--

Reply via email to