[Issue 6575] New: implementing interface method by overloaded arguments
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 29 22:50:12 PDT 2011
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: nobody at puremagic.com
ReportedBy: alienballance at gmail.com
--- Comment #0 from Mariusz Gliwiński <alienballance at 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: -------
More information about the Digitalmars-d-bugs
mailing list