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

Adam D. Ruppe <[email protected]> changed:

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

--- Comment #4 from Adam D. Ruppe <[email protected]> ---
The code that does it is:

// to bypass any opCast that may be present on the original class.
        return .opEquals!(Object, Object)(*cast(Object*) &lhs, *cast(Object*)
&rhs);


And appears plain `cast() lhs, cast() rhs` instead of the pointer cast will
also bypass opCast so i think this is a fairly easy fix.

--

Reply via email to