[Issue 405] New: typeof in TemplateParameterList causes compiletime segmentfault
Thomas Kuehne
thomas-dloop at kuehne.cn
Thu Oct 12 08:10:21 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
d-bugmail at puremagic.com schrieb am 2006-10-06:
> http://d.puremagic.com/issues/show_bug.cgi?id=405
> #
> # template square(typeof(x) x){
> # const square = x * x;
> # }
> #
> # const b = square!(1.2);
> #
Added to DStress as
http://dstress.kuehne.cn/nocompile/t/typeof_14_A.d
http://dstress.kuehne.cn/nocompile/t/typeof_14_B.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFLlAULK5blCcjpWoRAnKIAJ90zf9Q80eMgHvlWE/6j/kOyBOASACeP1H0
jhvVP+ddgSeW5jQCJ4Gl8R4=
=e2j0
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list