digitalmars.D.bugs - Const status not honoured with circular import
- Stewart Gordon (19/19) Oct 26 2005 Using DMD 0.136, Windows 98SE.
- Thomas Kuehne (12/23) Oct 28 2005 -----BEGIN PGP SIGNED MESSAGE-----
Using DMD 0.136, Windows 98SE. ----- circular_import_2a.d ----- import circular_import_2b; const uint len = 42; ----- circular_import_2b.d ----- import circular_import_2a; int[len] array; ---------- circular_import_2b.d(3): Integer constant expression expected instead of len circular_import_2b.d(3): Integer constant expression expected instead of len circular_import_2b.d(3): Integer constant expression expected instead of len -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- C++ a->--- UB P+ L E W++ N+++ o K- w++ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Oct 26 2005
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stewart Gordon schrieb am 2005-10-26:Using DMD 0.136, Windows 98SE. ----- circular_import_2a.d ----- import circular_import_2b; const uint len = 42; ----- circular_import_2b.d ----- import circular_import_2a; int[len] array; ---------- circular_import_2b.d(3): Integer constant expression expected instead of len circular_import_2b.d(3): Integer constant expression expected instead of len circular_import_2b.d(3): Integer constant expression expected instead of lenAdded to DStress as http://dstress.kuehne.cn/run/i/import_10_A.d http://dstress.kuehne.cn/run/i/import_10_B.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFDYiGd3w+/yD4P9tIRAlcdAKCDDCeB2gUu6ToZwwbHI1aHplLdoQCaA92Y SYNyxQEJsMez7vE4hENQn88= =9kCo -----END PGP SIGNATURE-----
Oct 28 2005