So, User-Defined Attributes

Philippe Sigaud philippe.sigaud at gmail.com
Sat Jan 5 14:06:58 PST 2013


On Sat, Jan 5, 2013 at 10:20 PM, Walter Bright
<newshound2 at digitalmars.com>wrote:

> On 1/5/2013 10:54 AM, Philippe Sigaud wrote:
>
>> Another bug report?
>>
>
> This is as designed, not a bug. The attribute must start with a @( or
> @identifier. Not @keyword, @number, @string, @operator, etc.
>

That, I can understand.

But why is @(MyType) accepted, whereas @(int) is not?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130105/7718569d/attachment-0001.html>


More information about the Digitalmars-d mailing list