[Issue 8897] New: Regression: 'has forward references' error for static class after template mixin

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 26 02:54:59 PDT 2012


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

           Summary: Regression: 'has forward references' error for static
                    class after template mixin
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: clugdbug at yahoo.com.au


--- Comment #0 from Don <clugdbug at yahoo.com.au> 2012-10-26 02:54:57 PDT ---
class C8897
{
    static mixin M8897!(int);
    static class causesAnError  {}
}

template M8897 ( E ) { }

bad.d(4): Error: class bad.C8897.causesAnError has forward references
----
Introduced by this pull:

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

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