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

           Summary: implementing interface method by overloaded arguments
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: alienballa...@gmail.com


--- Comment #0 from Mariusz GliwiƄski <alienballa...@gmail.com> 2011-08-29 
22:50:09 PDT ---
<code>
interface Interface
{
    void method(Interface);
}
class Class : Interface
{
    void method(Class) {}
}

void main() {}
</code>
<result>Error: class test.Class interface function Interface.method isn't
implemented</result>

It should treat method as implemented, because Class implements Interface
anyways.

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

Reply via email to