www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8033] New: Named template mixins conflicts with unnamed


           Summary: Named template mixins conflicts with unnamed
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: verylonglogin.reg gmail.com

mixin template T() {
    void f() { }

mixin T t;
mixin T;

void main() {
Error: main.A.T!().f at main.d(2) conflicts with main.A.T!().f at main.d(2)

Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 04 2012