http://d.puremagic.com/issues/show_bug.cgi?id=7501
Summary: Array of function pointers append Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2012-02-13 20:50:03 PST --- void main() { bool function(int)[] predicates; predicates.length = 1; predicates[0] = s => true; // OK predicates ~= s => true; // Error } DMD 2.058beta3: test.d(5): Error: expression __lambda4 is void and has no value -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------