mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
353 B
Solidity
10 lines
353 B
Solidity
contract test {
|
|
enum ActionChoices { GoLeft, GoRight, GoStraight, Sit }
|
|
constructor() public {
|
|
choices = ActionChoices.RunAroundWavingYourHands;
|
|
}
|
|
ActionChoices choices;
|
|
}
|
|
// ----
|
|
// TypeError: (121-159): Member "RunAroundWavingYourHands" not found or not visible after argument-dependent lookup in type(enum test.ActionChoices)
|