[Issue 9451] New: Listing abstract functions in diagnostic should show full signature

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 4 15:28:36 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9451

           Summary: Listing abstract functions in diagnostic should show
                    full signature
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-04 15:28:35 PST ---
class C
{
    abstract void foo(int);
    abstract void foo(float);
}

class D : C
{
    override void foo(int) { }
}

void main()
{
    auto d = new D;
}

test.d(14): Error: cannot create instance of abstract class D
test.d(14): Error: function foo is abstract

This makes its difficult to know which overload of a function is not
implemented.

-- 
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