-preview=safer for D
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Sun Dec 15 02:08:21 UTC 2024
On 15/12/2024 2:59 PM, Richard (Rikki) Andrew Cattermole wrote:
> If we are indeed wrong, the fact that it doesn't have an attribute (yes
> it could be in ``core.attribute``!) would negate any benefit it has of
> helping people to transition since it will not be selective.
I would also like to point out that this feature has a very similar
behavior as another attribute that a bunch of us have been wanting for
ages: ``@localnogc``.
It seems like if we want to solve this properly it is merely a matter of
introducing ``@local(Identifier)`` for turning on non-transitive
versions of attributes.
More information about the Digitalmars-d
mailing list