[Issue 8262] New: [ICE] sequence alias this

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 18 12:27:55 PDT 2012


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

           Summary: [ICE] sequence alias this
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: timon.gehr at gmx.ch


--- Comment #0 from timon.gehr at gmx.ch 2012-06-18 12:30:13 PDT ---
template Seq(T...) { alias T Seq; }

struct S{
    int s;
    alias Seq!s _;
    alias _ this;
}

import std.stdio;
void main(){ writeln(S.init); }

Crashes DMD 2.059 with:

dmd: mtype.c:1279: Type* Type::aliasthisOf(): Assertion `d->type' failed.

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