[Issue 21312] [REG 2.095] Newly triggered <expr> is not an lvalue and cannot be modified

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 1 23:57:53 UTC 2020


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #11873 " Fix Issue 21312 - Treat elements of (dynamic)
array literals as lvalues again" was merged into master:

- eb14367b5da97657517f5b9626b01706d15b17a7 by Martin Kinkelin:
  Fix Issue 21312 - Treat elements of (dynamic) array literals as lvalues again

  Which entails making sure that const-folding doesn't descend into an
  array literal element if an lvalue is required.

https://github.com/dlang/dmd/pull/11873

--


More information about the Digitalmars-d-bugs mailing list