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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Mariusz GliwiĆski <[email protected]> 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: -------