www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - DStress test try_05

reply Roberto Mariottini <Roberto_member pathlink.com> writes:
Hi,
I think the DStress test try_05 should be signaled as "xfail" and not "fail".
In fact DMD 120.2 gives:

try_05.d(18): catch at try_05.d(20) hides catch at try_05.d(22)

I think it incorrectly consider it as "fail" because it expects the error
signaled at line 20 and instad it gets 18.
Maybe DStress should be changed to check also the other line numbers given in
the error message, as line 20 appears in it.

Ciao
Apr 08 2005
parent Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roberto Mariottini schrieb am Fri, 8 Apr 2005 07:42:41 +0000 (UTC):
 Hi,
 I think the DStress test try_05 should be signaled as "xfail" and not "fail".
 In fact DMD 120.2 gives:

 try_05.d(18): catch at try_05.d(20) hides catch at try_05.d(22)

 I think it incorrectly consider it as "fail" because it expects the error
 signaled at line 20 and instad it gets 18.
 Maybe DStress should be changed to check also the other line numbers given in
 the error message, as line 20 appears in it.
Thanks, I fixed the pattern dstress is looking for. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCVjyd3w+/yD4P9tIRAhQgAJ9H9hRRdsTBc7CWksOYLBBUBvL06wCfQEpt aeYqIxFzvmOVLiQDE3wr79s= =5mqT -----END PGP SIGNATURE-----
Apr 08 2005