[Issue 9423] Missed conversion of lambda literal with ref argument
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 30 10:26:16 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9423
--- Comment #3 from bearophile_hugs at eml.cc 2013-01-30 10:26:15 PST ---
A discussion thread, the answers are mixed:
http://forum.dlang.org/thread/mixmakdqfmaznmmnizux@forum.dlang.org
A comment from Timon Gehr:
> BTW, the pull does not contain a test for the case
>
> void foo(int delegate(int) dg){ ... } // 1
> void foo(int delegate(ref int) dg){ ... } // 2
>
> void main(){ foo(x=>0); } // call 1
--
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