Minimizing "reserved" words
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Mon Oct 31 13:53:34 PDT 2016
On 10/31/16 4:45 PM, Jacob Carlborg wrote:
> In the latest release of DMD (2.072.0) TypeInfo.init has been deprecate
> in favor of TypeInfo.initializer. That would not have been needed if
> ..init wasn't a built-in property but instead a compiler recognized
> function.
>
> Thoughts? Too late to change, to much could would break?
>
The plan is to deprecate .init as an overridable method or field, and
then remove support (i.e. .init ALWAYS refers to the compile-generated
init instance). First step is for Phobos/druntime to eradicate all uses
of it.
-Steve
More information about the Digitalmars-d
mailing list