"Jacob Carlborg" <[email protected]> wrote in message 
news:[email protected]...
> On 2012-11-06 19:24, David Nadlinger wrote:
>
>> You are right, UDAs must definitely leverage D's module system for
>> encapsulation/disambiguation. Use of string literals (which are
>> intrinsically »global«) as annotations needs to be explicitly 
>> discouraged.
>
> Then why allow it in the first place?
>
> -- 
> /Jacob Carlborg

My thoughts exactly.  It reminds me of the horror of C++ exceptions.  I 
think it would be reasonable to require every annotation is a struct or 
class. 


Reply via email to