http://d.puremagic.com/issues/show_bug.cgi?id=4530
Justin Spahr-Summers <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |om --- Comment #1 from Justin Spahr-Summers <[email protected]> 2010-07-28 18:17:15 CDT --- (In reply to comment #0) > Allowing/keeping ugly and error-prone function literals in D2 is bad. It's > better for D2 to keep/allow only _one_ standard, clean and readable syntax for > functions pointers (and one for delegates, if necessary). Keeping C function > pointer syntax or something similar in D2 causes troubles. 'a' is not a function literal... it's a declaration of a nested function. The C syntax for a function pointer would be: string (*a)(); which I think is pretty unambiguous. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
