User Defined Attributes

Walter Bright newshound2 at digitalmars.com
Wed Nov 7 17:49:29 PST 2012


On 11/7/2012 4:12 PM, deadalnix wrote:
> Le 08/11/2012 00:17, Walter Bright a écrit :
>> On 11/7/2012 2:40 PM, deadalnix wrote:
>>> Java is mostly compile time (and optionally runtime). See
>>> http://projectlombok.org/ for what can be done at compile time with
>>> attributes +
>>> compiler hooks.
>>
>> Doesn't putting compiler hooks in for them make them inherently global?
>>
>
> The hook is associated to a given attribute so no it doesn't.

Yes, that makes the attribute global.


More information about the Digitalmars-d-announce mailing list