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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 26 09:46:20 PST 2006


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





------- Comment #2 from funisher at gmail.com  2006-12-26 11:46 -------
Hi Thomas, it still exists for me... btw, did you get my email about the array
init test?

L3 ~ # cat test.d 
// 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");

}
L3 ~ # dmd -profile test.d 
Internal error: ../ztc/cod3.c 1488
L3 ~ # dmd -v
Digital Mars D Compiler v0.178
Copyright (c) 1999-2006 by Digital Mars written by Walter Bright


-- 



More information about the Digitalmars-d-bugs mailing list