Skip to content

Commit aaf443f

Browse files
authored
Merge pull request #39 from vjik/patch-1
Fix #38: replace CamelCase to PascalCase in Enum case declarations
2 parents 89fbefa + ee2196e commit aaf443f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.md

+1-1
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)