Thread overview
abstract int i;
Mar 16, 2005
Thomas Kuehne
Mar 16, 2005
Thomas Kuehne
March 16, 2005
#
# abstract int i;
#

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
March 16, 2005
Isn't this like the static keyword for classes; silently ignored because of the way these things are applied?

-[Unknown]


> #
> # abstract int i;
> #
> 
> 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
March 16, 2005
-----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]
>
>
>> #
>> # abstract int i;
>> #
>> 
>> 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-----