[Issue 7780] Template mixin'd members do not properly overload

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 4 05:55:39 PDT 2013


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


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid


--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2013-07-04 05:55:37 PDT ---
(In reply to comment #0)
[snip]
> 
> foo.d(19): Error: __overloadset isn't a template
> 
> Or (without the wrapping class):
> 
> foo.d(17): Error: template instance C!(0) ambiguous template declaration
> foo.B!().C(int n : 1) and foo.A!().C(int n : 0)
> 
> The two versions of C here introduced could clearly coexist and be referred to
> as Foo.C!0 and Foo.C!1.

https://github.com/D-Programming-Language/dmd/pull/1660

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