[Issue 17491] Compiles on invalid: *&s.init.var is not an lvalue

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jun 11 07:47:17 PDT 2017


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

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
One reason to explain it is that the frontend optimizer only runs skin deep. 
If it were to recursively optimize the expression until it can no longer be
simplified, then that should be enough.

--


More information about the Digitalmars-d-bugs mailing list