[Issue 249] New: circular typedef and alias bugs

Thomas Kuehne thomas-dloop at kuehne.cn
Wed Jul 12 07:10:00 PDT 2006


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

d-bugmail at puremagic.com schrieb am 2006-07-11:
> http://d.puremagic.com/issues/show_bug.cgi?id=249

> module test1;
>
> typedef foo bar;
> typedef bar foo;
>
> void main () {
>         foo blah;
> }
>
> C:\programs>dmd test1.d -v
> parse     test1
> semantic  test1
> semantic2 test1
> semantic3 test1
> Stack overflow
>
>
> Without an error message, this can be almost impossible to track down.

Added to DStress as
http://dstress.kuehne.cn/nocompile/t/typedef_16_A.d
http://dstress.kuehne.cn/nocompile/t/typedef_16_B.d
http://dstress.kuehne.cn/nocompile/t/typedef_16_C.d

Thomas


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

iD8DBQFEtPJCLK5blCcjpWoRAh+RAKCIdNicwk00u/fd168FZwTvD1KMcACbBje0
QZ/VgaD6DZfkW3+Bg2tjzzA=
=UTha
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list