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

Jonathan M Davis <issues.dl...@jmdavisprog.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dl...@jmdavisprog.co
                   |                            |m

--- Comment #1 from Jonathan M Davis <issues.dl...@jmdavisprog.com> ---
Given that auto ref is supposed to be distinct from auto, I would expect it to
be a compiler bug if ref with anything other than auto were treated the same as
auto ref.

auto by itself is supposed to be a placeholder to indicate that a variable is
being declared, and is unnecessary when another attribute or identifier clearly
indicates that a variable is being declared, and that has nothing to with auto
ref. But I have no idea how clear the spec is on that.

--

Reply via email to