[Issue 4435] Multiple-inheritance of Interfaces results in final/static method/function hijacking

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 6 18:47:27 PST 2012


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



--- Comment #4 from yebblies <yebblies at gmail.com> 2012-02-07 13:47:24 EST ---
(In reply to comment #3)
> (In reply to comment #2)
> > https://github.com/D-Programming-Language/dmd/pull/699
> 
> This seems to partially overlap Issue 4647. I agree with your implementation,
> although Kenji seems to think otherwise in 4647. I don't know what Walter
> thinks though, the pull for 4647 doesn't fix the "ambiguous calls allowed" part
> of my bug report even though it was closed as fixed. Your pull fixes the
> "ambigous" part.
> 
> I'm just trying to make sure we're all on the same page. :)

I'm pretty sure the call should be disallowed, it is ambiguous.  Places like
this where behavior depends on order of declarations are generally bugs.

Note that my patch still needs some work.

-- 
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