[Issue 17641] TypeInfo for two identical delegates (or functions) are not equal to each other

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 13 09:27:17 PDT 2017


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

--- Comment #3 from ag0aep6g at gmail.com ---
(In reply to andronkin from comment #2)
> Thank you, I did not know about this feature.
> 
> > void delegate(uint)
> > Yeah, that looks wrong
> Why is it wrong? This is the correct delegate type definition:
> 
> void delegate(uint) f = delegate void(uint a) { ... };

"void delegate()" looks wrong. I was agreeing with you.

--


More information about the Digitalmars-d-bugs mailing list