[Issue 699] New: long variadic arguments and the "-profile" flag

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 19 07:45:49 PST 2006


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

           Summary: long variadic arguments and the "-profile" flag
           Product: D
           Version: 0.178
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: funisher at gmail.com


might be related to #698

I get this error:

Internal error: ../ztc/cod3.c 1488

You can reproduce it with this:

// needs -profile flag
template LaLa(E...) {
        class LaLa {
                this() {

                }
        }
}

void main() {
        // doesn't work
        new LaLa!("lala", "lalalalala", "lala",
                "lala", "lala", "lala", "lalalala",
                "lala", "lala", "lala", "lalala",
                "lala", "lala", "lala", "lala",
                "lala", "lala", "lala", "lala",
                "lala", "lala", "lala", "lala",
                "lala", "lala", "lala", "lala");
}


-- 



More information about the Digitalmars-d-bugs mailing list