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



--- Comment #14 from Stewart Gordon <s...@iname.com> 2012-03-10 03:45:21 PST ---
(In reply to comment #10)
> void foo(inout(int)* x, inout(int)* delegate(inout(int)* x) dg)
> {
>    inout(int)* bar(inout(int)* m) { return m;}
>    auto dg2 = &bar;
>    assert(typeof(dg2) == typeof(dg)); // ???

Whether we pick (a) or (b), it should apply equally to declarations in the body
of foo as to parameters of foo itself.  So this assert would pass either way.

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

Reply via email to