[Issue 642] New: error: mixin "static this" into where it cannot be

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 4 00:23:40 PST 2006


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

           Summary: error: mixin "static this" into where it cannot be
           Product: D
           Version: 0.176
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: kinaba at is.s.u-tokyo.ac.jp


// credit goes to http://f17.aaa.livedoor.jp/~labamba/?BugTrack%2F27
template Foo()
{
  static this(){}
}

void main()
{
  mixin Foo;
}
----------------
Assertion failure: 'ad' on line 877 in file 'func.c'

abnormal program termination


-- 




More information about the Digitalmars-d-bugs mailing list