Pull Request is up! Please discuss!

FeepingCreature feepingcreature at gmail.com
Thu Jun 6 06:34:30 UTC 2019


On Thursday, 30 May 2019 at 18:23:54 UTC, Jonathan M Davis wrote:
> On Thursday, May 30, 2019 8:39:05 AM MDT aliak via 
> Digitalmars-d wrote:
>> I'm not sure if there's a workaround. I remember there was 
>> talk of removing alias this in Nullable? But I also remember 
>> there was no consensus?
>
> I don't think that there was ever a consensus on it (mostly 
> just one person being really vocal about IIRC). But regardless, 
> IIRC, what prevented it from going any further was that 
> deprecating the alias resulted in deprecation messages when the 
> alias was checked by the compiler even if it wasn't actually 
> used in the code, meaning that you got a lot of extraneous 
> deprecation messages. I believe that the bug was reported, but 
> I don't know what its status is.
>
> - Jonathan M Davis

https://github.com/dlang/phobos/pull/7060

I've put up a PR for it just to see where we'll go from here.

There don't seem to be any active language issues preventing 
deprecation of `alias get this`.



More information about the Digitalmars-d mailing list