D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20350 - JSONType deprecations should be undeprecated
Summary: JSONType deprecations should be undeprecated
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 regression
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2019-11-03 10:38 UTC by Seb
Modified: 2019-12-07 18:24 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Seb 2019-11-03 10:38:11 UTC
Undeprecate JSONType member to avoid deprecation warnings when introspecting into the enum.


Details: https://forum.dlang.org/post/feudrhtxkaxxscwhhhff@forum.dlang.org
Comment 1 Dlang Bot 2019-11-03 10:38:52 UTC
@cschlote updated dlang/phobos pull request #7225 "Undeprecate JSONType member to avoid deprecation warnings" fixing this issue:

- Fix Issue 20350 - Enhanced deprecation message on JSON_TYPE alias
  
  Add hint to message to also change the enum members.

https://github.com/dlang/phobos/pull/7225
Comment 2 Dlang Bot 2019-12-07 18:24:55 UTC
dlang/phobos pull request #7225 "Undeprecate JSONType member to avoid deprecation warnings" was merged into stable:

- ae03972df171056332b008af3ca025fa8daf6671 by Carsten Schlote:
  Fix Issue 20350 - Undeprecate JSONType member to avoid deprecation warnings
  
  Undeprecate JSONType members, which create lots of spam-like
  deprecation warnings, which can't be fixed by the user.
  
  See discussion on this issue at
    https://forum.dlang.org/post/feudrhtxkaxxscwhhhff@forum.dlang.org

https://github.com/dlang/phobos/pull/7225