www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9451] New: Listing abstract functions in diagnostic should show full signature

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: andrej.mitrovich gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich 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: -------
Feb 04 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9451


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
         AssignedTo|nobody puremagic.com        |andrej.mitrovich gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2013-02-04
15:58:31 PST ---
https://github.com/D-Programming-Language/dmd/pull/1620

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 04 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9451



--- Comment #2 from github-bugzilla puremagic.com 2013-03-18 03:52:57 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/c4fda5c1ab4f7b5bd9cf697975f81d27d196e38d
Fixes Issue 9451 - Better diagnostic on unimplemented abstract methods.

https://github.com/D-Programming-Language/dmd/commit/d59eee4b85a62a797b7c462c6c0322831aa12018
Merge pull request #1620 from AndrejMitrovic/Fix9451

Issue 9451 - Better diagnostic on unimplemented abstract methods.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 18 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9451


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 27 2013