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

kinke <[email protected]> changed:

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

--- Comment #2 from kinke <[email protected]> ---
The 1st testcase just requires a `foreach (ref x; s)`, which I think is
consistent.

The 2nd one never sets `S.x` before dereferencing it, so adding `ref` there
still causes a segfault.

--

Reply via email to