Issues ... Edition 87

Carsten Schlote carsten.schlote at gmx.net
Thu Oct 10 13:45:10 UTC 2019


On Thursday, 10 October 2019 at 13:35:58 UTC, FeepingCreature 
wrote:
> This is a known issue with deprecated enum members and the 
> EnumMembers template. There's a discussion about it ongoing on 
> the frontpage of this very forum, but the problem is there's no 
> clean way to fix it without changing the semantics of the 
> language. It's an unfortunate interaction between language 
> features that was hidden by a bug that was recently fixed.

This "unfortunate interaction" is bad. It looks broken. Who 
want's to learn and use a language, which seems to be broken by 
unintended interactions of language features?

Wouldn't it be much better to 'solve' the issue first, and then 
use @deprecate on enum members without side-effects?

Carsten


More information about the Digitalmars-d mailing list