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

Walter Bright <[email protected]> changed:

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

--- Comment #14 from Walter Bright <[email protected]> ---
(In reply to vitamin from comment #13)
> This bug still exists and it depends on existence of dtor in struct:

It now produces the errors:

test.d(19): Error: address of variable `__slFoo3` assigned to `foo` with longer
lifetime
test.d(20): Error: `Bar(1).i` is not an lvalue and cannot be modified

But the other manifestations of the problem still compile without error.

--

Reply via email to