[Issue 3543] : ? operator can't find common type for classes/interfaces

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 5 21:42:39 PDT 2011


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


--- Comment #6 from Walter Bright <bugzilla at digitalmars.com> 2011-04-05 21:39:01 PDT ---
I'm going to mark this as an enhancement. When the inheritance graph is
non-trivial, I don't think it's so obvious which, if any, of the ancestors
should be picked. Perhaps the user should decide.

So I'm skeptical this is a good idea.

Meanwhile, it does work for classes, which make sense because classes are
single inheritance. A common root, if there is one, would be only one.

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