So, User-Defined Attributes

Philippe Sigaud philippe.sigaud at gmail.com
Sun Jan 6 14:37:07 PST 2013


On Sun, Jan 6, 2013 at 11:24 PM, deadalnix <deadalnix at gmail.com> wrote:

> On Saturday, 5 January 2013 at 22:14:47 UTC, Walter Bright wrote:
>
>> On 1/5/2013 2:06 PM, Philippe Sigaud wrote:
>>
>>> But why is @(MyType) accepted, whereas @(int) is not?
>>>
>>
>> Because it's looking for an expression inside the parents, and int is not
>> an expression.
>>
>
> And mytype is an expression ?????
>

Same thought here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130106/fcaa26e8/attachment.html>


More information about the Digitalmars-d mailing list