From the docs:
contract test {
enum ActionChoices { GoLeft, GoRight, GoStraight, SitStill }
ActionChoices choice;
...
Line 2 deliberately omits a ;
.
Attempting to compile the snippet but with a ;
gives the following error:
ParserError: Function, variable, struct or modifier declaration expected.
Why is it that these enum declaration statements require there to not have a semicolon?