http://d.puremagic.com/issues/show_bug.cgi?id=7265
--- Comment #6 from Andrei Alexandrescu <[email protected]> 2012-01-16 10:15:03 PST --- (In reply to comment #5) > ----- > import std.stdio, std.traits; > > void main() > { > static assert(is(typeof(main) == function)); // true, typeof(main) is > function > static assert(is(typeof(&main) == function)); // false, typeof(&main) is > function pointer > } > ----- I think fn in auto fn = { ... }; should be the same thing - a name for a function. I guess that's not easy to implement. Kenji, Walter? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
