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

Bolpat <[email protected]> changed:

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

--- Comment #7 from Bolpat <[email protected]> ---
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.

--

Reply via email to