Thread overview | |||||
---|---|---|---|---|---|
|
March 16, 2005 abstract int i; | ||||
---|---|---|---|---|
| ||||
Attachments: | # # 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 Re: abstract int i; | ||||
---|---|---|---|---|
| ||||
Posted in reply to Thomas Kuehne | 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 Re: abstract int i; | ||||
---|---|---|---|---|
| ||||
Posted in reply to Unknown W. Brackets | -----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----- |
Copyright © 1999-2021 by the D Language Foundation