[Issue 19619] Temporary solution for attribute extensibility problem

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 26 16:51:58 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19619

Neia Neutuladh <dhasenan at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dhasenan at gmail.com

--- Comment #1 from Neia Neutuladh <dhasenan at gmail.com> ---
https://dlang.org/spec/lex.html#identifiers says:

"Implementation Defined: Identifiers starting with __ (two underscores) are
reserved."

Adding the attributes to core.attribute would pretty much obviate this. You can
use selective, renamed, and static imports to handle name conflicts. This is
much more true with the proposed @future symbol reservation feature, which
would allow a deprecation cycle to introduce a new symbol.

--


More information about the Digitalmars-d-bugs mailing list