Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Json deprecation #2

Open
o3o opened this issue Aug 19, 2019 · 1 comment
Open

Json deprecation #2

o3o opened this issue Aug 19, 2019 · 1 comment
Assignees

Comments

@o3o
Copy link

o3o commented Aug 19, 2019

$ dub build --config=cli
Fetching urld 2.1.1 (getting selected version)...
Performing "debug" build using /usr/bin/dmd for x86_64.
urld 2.1.1: building configuration "library"...
dubproxy 1.0.1+commit.4.gb7e021c: building configuration "cli"...
/usr/include/dlang/dmd/std/traits.d(4130,37): Deprecation: enum member `std.json.JSONType.NULL` is deprecated - Use .null_
/usr/include/dlang/dmd/std/traits.d-mixin-4111(4111,50): Deprecation: enum member `std.json.JSONType.NULL` is deprecated - Use .null_
/usr/include/dlang/dmd/std/traits.d(4128,17): Deprecation: enum member `std.json.JSONType.NULL` is deprecated - Use .null_
/usr/include/dlang/dmd/std/traits.d(4130,37): Deprecation: enum member `std.json.JSONType.STRING` is deprecated - Use .string
/usr/include/dlang/dmd/std/traits.d-mixin-4111(4111,52): Deprecation: enum member `std.json.JSONType.STRING` is deprecated - Use .string
/usr/include/dlang/dmd/std/traits.d(4128,17): Deprecation: enum member `std.json.JSONType.STRING` is deprecated - Use .string
/usr/include/dlang/dmd/std/traits.d(4130,37): Deprecation: enum member `std.json.JSONType.INTEGER` is deprecated - Use .integer
/usr/include/dlang/dmd/std/traits.d-mixin-4111(4111,53): Deprecation: enum member `std.json.JSONType.INTEGER` is deprecated - Use .integer
/usr/include/dlang/dmd/std/traits.d(4128,17): Deprecation: enum member `std.json.JSONType.INTEGER` is deprecated - Use .integer
.....

My environment:

$ dmd --version
DMD64 D Compiler v2.087.1

$ dub --version
DUB version 1.16.0, built on Jul 02 2019

Thank you.

@burner burner self-assigned this Aug 19, 2019
@burner
Copy link
Collaborator

burner commented Aug 20, 2019

I'm not really sure how the code ends up in enummembers. Got to do some more investigating. I believe this will fix itself as soon as NULL,STRING and friends get removed from std.json.JSONType.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants