[Issue 352] New: Assertion failure: expression.c 753 - concatenating strings in a template calling another template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 16 16:14:29 PDT 2006


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

           Summary: Assertion failure: expression.c 753 - concatenating
                    strings in a template calling another template
           Product: D
           Version: 0.166
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: smjg at iname.com


----------
template Qwert(char[] yuiop) {
    const char[] Qwert = yuiop;
}

template Asdfg(char[] yuiop) {
    const char[] Asdfg = Qwert!(yuiop ~ "hjkl");
}

char[] zxcvb = Asdfg!(null);
----------
Assertion failure: '0' on line 753 in file 'expression.c'
----------

after which DMD hangs.


-- 




More information about the Digitalmars-d-bugs mailing list