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: bugzi...@digitalmars.com
        ReportedBy: dav...@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"


-- 

Reply via email to