Skip to content

Commit

Permalink
Minor corection to enum traits. (#4393)
Browse files Browse the repository at this point in the history
  • Loading branch information
Crell authored Jan 16, 2025
1 parent 9960a09 commit 3d5ec5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion language/enumerations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ enum Size

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

Expand Down

0 comments on commit 3d5ec5f

Please sign in to comment.