enum Foo { a, deprecated b, } enum Bar { deprecated c = Foo.b } is generating the following deprecation notice: a.d(7): Deprecation: enum member `a.Foo.b` is deprecated Using deprecated values inside a deprecated field should not generate that notice.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19565 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB