digitalmars.D.bugs - circular constant definitions bring about endless error messages
- Wang Zhen (8/8) Feb 17 2006 const auto a = b; const auto b = a; void main(){}
- Wang Zhen (3/13) Feb 17 2006 a shorter test case:
- Thomas Kuehne (16/29) Feb 18 2006 -----BEGIN PGP SIGNED MESSAGE-----
const auto a = b; const auto b = a; void main(){}
/*
dmd 0.147 reports:
t.d(1): forward reference of b
t.d(1): forward reference of a
...
lather, rinse, and repeat.
*/
Feb 17 2006
a shorter test case:
const auto a = a; void main(){}
Wang Zhen wrote:
const auto a = b; const auto b = a; void main(){}
/*
dmd 0.147 reports:
t.d(1): forward reference of b
t.d(1): forward reference of a
...
lather, rinse, and repeat.
*/
Feb 17 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Wang Zhen schrieb am 2006-02-17:
a shorter test case:
const auto a = a; void main(){}
Wang Zhen wrote:
const auto a = b; const auto b = a; void main(){}
/*
dmd 0.147 reports:
t.d(1): forward reference of b
t.d(1): forward reference of a
...
lather, rinse, and repeat.
*/
Added to DStress as
http://dstress.kuehne.cn/nocompile/c/const_34_A.d
http://dstress.kuehne.cn/nocompile/c/const_34_B.d
http://dstress.kuehne.cn/nocompile/c/const_34_C.d
http://dstress.kuehne.cn/nocompile/c/const_34_D.d
http://dstress.kuehne.cn/nocompile/c/const_34_E.d
http://dstress.kuehne.cn/nocompile/c/const_34_F.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFD9tBO3w+/yD4P9tIRAunAAKC8PN4a3w+UGpXEOoFSByzyAzrQdQCg0K6m
sNfm33WsrAbhP5SWHEq8xOc=
=pJna
-----END PGP SIGNATURE-----
Feb 18 2006








Thomas Kuehne <thomas-dloop kuehne.cn>