[Issue 17729] dmd says cast expression is "not an lvalue", but it can be used as one in other contexts

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 25 13:08:28 UTC 2019


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

ag0aep6g <ag0aep6g at gmail.com> changed:

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

--- Comment #4 from ag0aep6g <ag0aep6g at gmail.com> ---
This has apparently been fixed by the fix for issue 19754. `auto p = & cast(S)
s;` compiles now. Closing as duplicate.

*** This issue has been marked as a duplicate of issue 19754 ***

--


More information about the Digitalmars-d-bugs mailing list