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

--- Comment #2 from Eyal <[email protected]> ---
Why would you take the function ptr of a delegate without the ctx, except as a
"void*" value to compare against?

A delegate's function ptr is *not* callable without the context, so it should
not have the type of callable things.

If the test suite assumes the delegate is implicitly convertible to a callable
function without the context -- the test suite should be fixed, as this is
non-sensical.

--

Reply via email to