Annoying deprecation messages when using EnumMembers with enum that has deprecated members
neuranuz at gmail.com
Tue Oct 8 06:39:28 UTC 2019
On Tuesday, 8 October 2019 at 04:31:22 UTC, FeepingCreature wrote:
> On Sunday, 6 October 2019 at 07:58:41 UTC, uranuz wrote:
> I also think it would be useful to have some way to suppress
> deprecations in a block of code. This is going to become
> important in the next version of D, where deprecated unittests
> will become basically impossible to use with unit-threaded
> because there'll be no way for unit-threaded to call a
> deprecated unittest without incurring a deprecation message.
> (That I can see.)
It is curious if it needs some language support to suppress
deprecation messages or if it is just a library issue?
More information about the Digitalmars-d