[Issue 699] New: long variadic arguments and the "-profile" flag
Thomas Kuehne
thomas-dloop at kuehne.cn
Tue Dec 26 04:48:43 PST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
d-bugmail at puremagic.com schrieb am 2006-12-19:
> http://d.puremagic.com/issues/show_bug.cgi?id=699
> 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");
> }
I can't reproduce this with DMD-0.178 on Linux.
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFkRoaLK5blCcjpWoRAkqQAJ9A8rSfkx8Bk6cvA7FRYfzG81BeUwCgnMlI
xwixK6F9sz8tGO9TMenCV/A=
=sNWq
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list