On 11/30/2012 12:58 AM, Andrei Alexandrescu wrote:
Because attributes attach to the declarations they enclose. A global
attribute would be something else.
Could be attached to the module declaration.
That implies that "module" no longer must be first, it could appear
elsewhere. It also implies that "module" becomes an actual declaration,
rather than its own construct. It also implies that this attribute must
be decided explicitly and in advance by the programmer, it cannot be
added via a mixin from elsewhere.
Pragma just seems more suitable to declaring global things.