Thread overview
[Issue 11632] Old alias syntax accepts "ref"
Apr 22, 2014
Andrej Mitrovic
Apr 22, 2014
Andrej Mitrovic
Jun 04, 2015
Robert Schadek
Jul 05, 2017
Vladimir Panteleev
Jan 10, 2021
Bolpat
Dec 17, 2022
Iain Buclaw
April 22, 2014
https://issues.dlang.org/show_bug.cgi?id=11632

Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brian-schott@cox.net

--- Comment #4 from Andrej Mitrovic <andrej.mitrovich@gmail.com> ---
*** Issue 12299 has been marked as a duplicate of this issue. ***

--
April 22, 2014
https://issues.dlang.org/show_bug.cgi?id=11632

Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |callumenator@gmail.com

--- Comment #5 from Andrej Mitrovic <andrej.mitrovich@gmail.com> ---
*** Issue 12257 has been marked as a duplicate of this issue. ***

--
June 04, 2015
https://issues.dlang.org/show_bug.cgi?id=11632

Robert Schadek <rburners@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rburners@gmail.com

--- Comment #6 from Robert Schadek <rburners@gmail.com> ---
phobos PR https://github.com/D-Programming-Language/phobos/pull/2995

is sort of blocked by:

template RefType(T) alias RefType = ref T;

not working anymore

--
July 05, 2017
https://issues.dlang.org/show_bug.cgi?id=11632

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid

--
January 10, 2021
https://issues.dlang.org/show_bug.cgi?id=11632

Bolpat <qs.il.paperinik@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qs.il.paperinik@gmail.com

--- Comment #7 from Bolpat <qs.il.paperinik@gmail.com> ---
The grammar allows this to make

alias RefDG = ref int delegate();

legal. Having ref be accepted but with no effect is nothing special about the D compiler. It accepts a lot of annotations that have no effect.

The question which cases are accepts-invalid and which are not is mostly a matter of taste.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=11632

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--