[Issue 2867] New: stringof is broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 21 00:43:13 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2867
Summary: stringof is broken
Product: D
Version: 2.028
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: davidl at 126.com
class D
{
int foo(int i){}
}
pragma(msg, D.foo.stringof);
teststringof.d(6): Error: function teststringof.D.foo (int i) does not match
parameter types ()
teststringof.d(6): Error: expected 1 function arguments, not 0
foo()
What I love to see is that it prints "foo"
--
More information about the Digitalmars-d-bugs
mailing list