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

Nick Treleaven <n...@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n...@geany.org

--- Comment #1 from Nick Treleaven <n...@geany.org> ---
The spec (now) says:

> Casting with no type or qualifiers removes any top level const, immutable, 
> shared or inout type modifiers from the type of the UnaryExpression

https://dlang.org/spec/expression.html#cast_qualifier

Note 'top level'. So I think this is invalid.

--

Reply via email to