Skip to content

Commit ee2196e

Browse files
authored
Fix #38: replace CamelCase to PascalCase in Enum case declarations
1 parent 89fbefa commit ee2196e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ instead of `protected`, as enums do not support inheritance.
12151215
When using a backed enum, there MUST NOT be a space between the enum name and colon, and there MUST be exactly one
12161216
space between the colon and the backing type. This is consistent with the style for return types.
12171217

1218-
Enum case declarations MUST use CamelCase capitalization. Enum case declarations MUST be on their own line.
1218+
Enum case declarations MUST use PascalCase capitalization. Enum case declarations MUST be on their own line.
12191219

12201220
Constants in Enumerations MAY use either PascalCase or UPPER_CASE capitalization. PascalCase is RECOMMENDED,
12211221
so that it is consistent with case declarations.

0 commit comments

Comments
 (0)