[Issue 7713] lambda inference doesn't work on template function argument
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 15 21:56:41 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7713
Alex Rønne Petersen <xtzgzorex at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xtzgzorex at gmail.com
--- Comment #2 from Alex Rønne Petersen <xtzgzorex at gmail.com> 2012-03-15 21:56:53 PDT ---
Question: Would this also allow:
void foo(T)(T t, bool delegate(T) dg)
{
}
void main()
{
foo(1, (i) { return true; });
}
or is it limited to the return type of the delegate (or is this completely
unrelated to this bug?)?
--
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