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

--- Comment #9 from Andrei Alexandrescu <[email protected]> ---
Talked to Razvan, and we're thinking of the following minimally disruptive
change:

* If the struct has only ONE member of type T && the alias this yields a ref T
    pass
* Else
    issue a deprecation

This keeps legit cases working and disallows mistakes.

--

Reply via email to