deprecate deprecated?

deadalnix deadalnix at gmail.com
Wed Nov 7 06:07:15 PST 2012


Le 07/11/2012 04:41, Walter Bright a écrit :
> On 11/6/2012 6:55 PM, Andrei Alexandrescu wrote:
>> I don't think that's possible. One would need a mechanism to hook into
>> all calls
>> to a function (adorned with a specific attribute) and emit the message
>> during
>> compilation. That is missing.
>
> It would be interesting to see where those pain points are, and whether
> a general "hook" mechanism for user plugins would be a good idea.
>

The hook should be in D and CTFEable. This require an API provided in 
druntime or phobos. This is heavy work, but would definitively worth it.


More information about the Digitalmars-d mailing list