[Issue 2126] class template specialization and inheritance

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 15 13:59:57 UTC 2018


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

Dmitry Olshansky <dmitry.olsh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dmitry.olsh at gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #2 from Dmitry Olshansky <dmitry.olsh at gmail.com> ---

> According to the documentation, the colon in 'C(T:A!(TT),TT)' means "the same > as or derived from". So the second line of the output should be
> "implememtation for T the same as or derived from A!(TT)." in my opinion.

Was fixed in the meantime, since the original code in 2.079 prints:

implememtation for T the same as or derived from A!(TT).
implememtation for T the same as or derived from A!(TT).
implementation for generic T.

Whereas it was:
implememtation for T the same as or derived from A!(TT).
implementation for generic T.
implementation for generic T.

So this ehancement was done sometime ago.

--


More information about the Digitalmars-d-bugs mailing list