Skip to content

Commit

Permalink
Enhanced deprecation message on JSON_TYPE alias
Browse files Browse the repository at this point in the history
Add hint to message to also change the enum members.
  • Loading branch information
Carsten Schlote authored and wilzbach committed Nov 3, 2019
1 parent ae03972 commit 1479200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/json.d
Expand Up @@ -110,7 +110,7 @@ enum JSONType : byte
/* deprecated("Use .false_") */ FALSE = false_,
}

deprecated("Use JSONType") alias JSON_TYPE = JSONType;
deprecated("Use JSONType and the new enum member names") alias JSON_TYPE = JSONType;

/**
JSON value node
Expand Down

0 comments on commit 1479200

Please sign in to comment.