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

Nick Treleaven <[email protected]> changed:

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

--- Comment #1 from Nick Treleaven <[email protected]> ---
The reason for this error is to prevent `[42][1..1].ptr`, which is not @safe.
Your example could be allowed if the literal has not been sliced.

--

Reply via email to