From ee2196e5b70a20e074d9c36e2d747812dc0a8037 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Thu, 11 Aug 2022 21:18:51 +0300 Subject: [PATCH] Fix #38: replace CamelCase to PascalCase in Enum case declarations --- spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.md b/spec.md index 0652335..32f59f4 100644 --- a/spec.md +++ b/spec.md @@ -1215,7 +1215,7 @@ instead of `protected`, as enums do not support inheritance. When using a backed enum, there MUST NOT be a space between the enum name and colon, and there MUST be exactly one space between the colon and the backing type. This is consistent with the style for return types. -Enum case declarations MUST use CamelCase capitalization. Enum case declarations MUST be on their own line. +Enum case declarations MUST use PascalCase capitalization. Enum case declarations MUST be on their own line. Constants in Enumerations MAY use either PascalCase or UPPER_CASE capitalization. PascalCase is RECOMMENDED, so that it is consistent with case declarations.