Beta 2.089.0

FeepingCreature feepingcreature at gmail.com
Tue Oct 29 06:25:05 UTC 2019


On Tuesday, 29 October 2019 at 06:06:56 UTC, FeepingCreature 
wrote:
> On Sunday, 27 October 2019 at 16:50:00 UTC, baz wrote:
>> What does the author of the deprecation think about this case 
>> ("feep" IIRC ) ?
>
> Yeah that's a non-fix. It's a blind replacement of "a" with 
> "a.get" that ignores the fact that Nullable!string has its own 
> toString, ie. this is one of the cases where the `a.get` is 
> actually not triggered at runtime. The fact that the 
> deprecation still triggers is an issue with traits that has no 
> clear and obvious solution. (I advocate Adam's approach of just 
> disabling deprecations in traits outright.)

I take it back. Actually on looking into it deeper, while the 
general issue is gnarly, the solution to the *specific issue* in 
the bug report is very simple, lol.

PR up: https://github.com/dlang/phobos/pull/7257


More information about the Digitalmars-d-announce mailing list