http://d.puremagic.com/issues/show_bug.cgi?id=3831
Summary: writeln of a delegate typeid Product: D Version: 2.040 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2010-02-18 12:52:18 PST --- import std.stdio: writeln; void main() { double sqr(double x) { return x * x; } writeln(typeid(typeof(&sqr))); pure double psqr(double x) { return x * x; } writeln(typeid(typeof(&psqr))); } It prints: double delegate() double delegate() Instead of: double delegate(double x) pure double delegate(double x) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------