[Issue 7585] functions in templates inferred as delegate

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 5 13:28:11 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=7585



--- Comment #12 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-05 13:28:09 PST ---
(In reply to comment #11)
> (In reply to comment #10)
> > What's the state of this? OP sample works, but in Kenji's Comment #1 sample the
> > line which fails is:
> > 
> > Callback cb3 = &Wrap!(f3);      // NG
> 
> It is to be expected that this fails. If the OP sample works, I assume this is
> fixed.

I guess he also expects this to fail then:

Callback cb3 = &Wrap!((){});    // NG

but it doesn't fail.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list