[Issue 370] New: Compiler stack overflow on recursive typeof in function declaration.

Thomas Kuehne thomas-dloop at kuehne.cn
Fri Sep 29 01:19:20 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-09-26:
> http://d.puremagic.com/issues/show_bug.cgi?id=370

> Compiler stack overflow on recursive typeof in function declaration:
> --------
> void test( typeof(test) p) { }
> ----
> Should give the error that test.p cannot be declared to be a function.

Added to DStress as
http://dstress.kuehne.cn/dstress/compile/t/typeof_11_A.d
http://dstress.kuehne.cn/dstress/nocompile/t/typeof_11_B.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFFHNwdLK5blCcjpWoRAjGOAKCVSd+aHD5hPb7Z4Kx3FDmnQN3/lwCgqihE
ZtpKXj4m4YZg9mMNrO1m23s=
=eF9n
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list