Bug 19865 – Deprecated enum values using deprecated expressions shouldn't be warned about

Status
NEW
Severity
minor
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-05-11T21:05:58Z
Last change time
2024-12-13T19:03:22Z
Assigned to
No Owner
Creator
Jan Jurzitza
See also
https://issues.dlang.org/show_bug.cgi?id=13582
Moved to GitHub: dmd#19565 →

Comments

Comment #0 by d.bugs — 2019-05-11T21:05:58Z
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.
Comment #1 by robert.schadek — 2024-12-13T19:03:22Z
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