[Issue 5060] Order of interface implementations affects code
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 17 13:07:28 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=5060
--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-09-17 13:07:28 PDT ---
(In reply to comment #1)
> Otherwise, emit a compiler error.
I meant emit the error at the call site when "run" is called but both
interfaces define the function with this name. Either the class developer
introduces the alias, or the user could do:
object.Foo.run(); // explicitly call this interface function
object.Bar.run(); // ditto
--
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