[Issue 8496] Assignment of function literal to function pointer variable with non-D linkage broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 22 03:25:31 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8496
--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2012-09-22 03:26:34 PDT ---
I'd like to update sample code.
alias extern (C) void function() FP;
void main()
{
FP fp = (){};
fp = (){};
}
The fp declaration and assignment should infer the lambda's linkage.
--
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