Bug 6575 – implementing interface method by overloaded arguments

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2011-08-29T22:50:00Z
Last change time
2011-08-30T02:29:58Z
Assigned to
nobody
Creator
alienballance

Comments

Comment #0 by alienballance — 2011-08-29T22:50:09Z
<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.