Skip to content

Commit 3d5ec5f

Browse files
authored
Minor corection to enum traits. (#4393)
1 parent 9960a09 commit 3d5ec5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language/enumerations.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ enum Size
511511

512512
<para>Enumerations may leverage traits, which will behave the same as on classes.
513513
The caveat is that traits <literal>use</literal>d in an enum must not contain properties.
514-
They may only include methods and static methods. A trait with properties will
514+
They may only include methods, static methods, and constants. A trait with properties will
515515
result in a fatal error.
516516
</para>
517517

0 commit comments

Comments
 (0)