[Issue 1934] New: yet another Internal error: ..\ztc\cod1.c 2529

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 20 00:14:17 PDT 2008


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

           Summary: yet another Internal error: ..\ztc\cod1.c 2529
           Product: D
           Version: 2.012
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: davidl at 126.com


http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=67928

He mentioned that static array can't be used as AA keys. So I tested with the
newest DMD:

void main()
{
    char[char[3]] k;
    k["dfs"]='a';
}

fails with msg:
Internal error: ..\ztc\cod1.c 2529


-- 



More information about the Digitalmars-d-bugs mailing list