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

Nick Treleaven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #2 from Nick Treleaven <[email protected]> ---
(In reply to Cauterite from comment #0)
>               auto p1 = cast(const void*) 1;
>               auto h3 = HandleT( p1 ); // allowed

This was disallowed by the time of v2.068.2.

onlineapp.d(11): Error: cannot implicitly convert expression
`cast(const(void*))cast(size_t)1LU` of type `const(void*)` to `ulong`

> Related: http://dpaste.dzfl.pl/68de69a294c3

Server not responding.

--

Reply via email to