www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - abstract int i;

reply Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1





The code above is neither rejected by dmd-118 nor documented.

test cases:
http://dstress.kuehne.cn/nocompile/abstract_09.d
http://dstress.kuehne.cn/nocompile/abstract_11.d
http://dstress.kuehne.cn/nocompile/abstract_12.d

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

iD8DBQFCOBMl3w+/yD4P9tIRAr1xAKDRVvxOMwe6UaHAj/KQyrpr2pGIfwCfURrs
O2ly56EbI3r3fQyZy2tfuKM=
=JAdM
-----END PGP SIGNATURE-----
Mar 16 2005
parent reply "Unknown W. Brackets" <unknown simplemachines.org> writes:
Isn't this like the static keyword for classes; silently ignored because 
of the way these things are applied?

-[Unknown]





 
 The code above is neither rejected by dmd-118 nor documented.
 
 test cases:
 http://dstress.kuehne.cn/nocompile/abstract_09.d
 http://dstress.kuehne.cn/nocompile/abstract_11.d
 http://dstress.kuehne.cn/nocompile/abstract_12.d
 
 Thomas
Mar 16 2005
parent Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Unknown W. Brackets schrieb am Wed, 16 Mar 2005 03:12:50 -0800:
 Isn't this like the static keyword for classes; silently ignored because 
 of the way these things are applied?

 -[Unknown]





 
 The code above is neither rejected by dmd-118 nor documented.
 
 test cases:
 http://dstress.kuehne.cn/nocompile/abstract_09.d
 http://dstress.kuehne.cn/nocompile/abstract_11.d
 http://dstress.kuehne.cn/nocompile/abstract_12.d
That behaviour is only documented for the align and the static attribute: Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCOCf13w+/yD4P9tIRAiVbAJwLy0SQy5/6D1RG0jdIsQ3JUT/+rQCgw8eA 5o7wy0gu/SFsiDBJD1wBzUU= =S6hM -----END PGP SIGNATURE-----
Mar 16 2005