[Issue 4530] Tidier function types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 15 08:04:25 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4530
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |yebblies at gmail.com
Resolution| |INVALID
--- Comment #6 from yebblies <yebblies at gmail.com> 2011-06-15 07:59:44 PDT ---
In the original comment, there is no 'ugly and error-prone function literal'.
There is a nested function declaration with no body.
import std.stdio;
void main() {
string a();
pragma(msg, typeof(&a));
}
Prints:
string delegate()
--
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