www.digitalmars.com         C & C++   DMDScript  

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

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

           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() {
    f();
}
---
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