[Issue 19754] cast() sometimes yields lvalue, sometimes yields rvalue

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 2 21:04:40 UTC 2019


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

--- Comment #18 from Dlang Bot <dlang-bot at dlang.rocks> ---
@kinke created dlang/dmd pull request #10124 "[WIP] [stable] Don't optimize()
lhs lvalues of (bin)assign expressions to constants " mentioning this issue:

- Respect `keepLvalue` when optimizing/const-folding a CastExp

  One aspect of issue 19754.

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

--


More information about the Digitalmars-d-bugs mailing list