[Issue 5380] alias this is not considered with superclass lookup

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 2 18:41:23 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=5380

alexanderheistermann at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexanderheistermann at gmail.
                   |                            |com

--- Comment #8 from alexanderheistermann at gmail.com ---
Do we really want multiple inheritance via alias this? I can't imagine how the
current situation will be when multi alias this is implemented.

@Walter Bright
Please think long and hard about this, as if we allow multiple inheritance via
alias this, we be encountering the infamous "diamond problem".

https://web.archive.org/web/20051024230813/http://www.objectmentor.com/resources/articles/javacpp.pdf

--


More information about the Digitalmars-d-bugs mailing list