blob: 4e21b9aadc7e504c4f79d7581e931c643b522452 (
plain) (
tree)
|
|
contract test {
enum ActionChoices { GoLeft, GoRight, GoStraight, Sit }
constructor() public {
b = ActionChoices.Sit;
}
uint64 b;
}
// ----
// TypeError: (115-132): Type enum test.ActionChoices is not implicitly convertible to expected type uint64.
|