Le 07/11/2012 21:24, Walter Bright a écrit :
On 11/7/2012 11:40 AM, Jonas Drewsen wrote:I we were to allow for @foobar style UDA then "safe" would have to be a reserved keyword somehow. Otherwise I do not know what this would mean:struct safe { } @safe void foobar() { }Yes, I agree this is a significant problem.
As a cross topic answer, I'll mention that allowing anything to be an attribute is likely to be a bad idea, and that way to solve that are already discussed.