Thread overview | ||||||
---|---|---|---|---|---|---|
|
February 20, 2017 [Issue 9395] Allow deprecated statement in enum members | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9395 Jonathan M Davis <issues.dlang@jmdavisProg.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |issues.dlang@jmdavisProg.co | |m --- Comment #2 from Jonathan M Davis <issues.dlang@jmdavisProg.com> --- This would definitely be nice. I ran into this problem when working on bindings for Qt5. They have a number of enum members that they have added new names for and then marked the old ones as deprecated, and while most declarations in D can be marked as deprecated, the best that we can do here is say something in the documentation. Now, that's all that Qt can do either, since it's C++, but since pretty much any other declaration could be marked as deprecated in D, this restriction is annoying and arguably inconsistent. -- |
November 19, 2017 [Issue 9395] Allow deprecated statement in enum members | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9395 Mike <slavo5150@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=9701 -- |
November 19, 2017 [Issue 9395] Allow deprecated statement in enum members | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9395 Mike <slavo5150@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |slavo5150@yahoo.com See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=15601 -- |
May 11, 2019 [Issue 9395] Allow deprecated statement in enum members | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=9395 Jan Jurzitza <d.bugs@webfreak.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |d.bugs@webfreak.org Resolution|--- |FIXED --- Comment #3 from Jan Jurzitza <d.bugs@webfreak.org> --- this has been added in DMD 2.082.0: https://dlang.org/changelog/2.082.0.html#enum_attributes -- |
Copyright © 1999-2021 by the D Language Foundation