From e79e286a7b76694f37d13295bfe0bf05c17e01a5 Mon Sep 17 00:00:00 2001 From: Carsten Schlote Date: Fri, 11 Oct 2019 08:10:48 +0200 Subject: [PATCH] Fix Issue 20350 - Enhanced deprecation message on JSON_TYPE alias Add hint to message to also change the enum members. --- std/json.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/json.d b/std/json.d index 05a052b98a1..ba44e5e3956 100644 --- a/std/json.d +++ b/std/json.d @@ -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