Return a type error when an enum has more than 256 members

This commit is contained in:
Kamil Śliwak
2020-11-16 18:58:19 +01:00
parent 472538c915
commit 1bf700e088
10 changed files with 118 additions and 9 deletions
@@ -2,4 +2,4 @@ contract c {
enum foo { }
}
// ----
// ParserError 3147: (25-26): enum with no members is not allowed.
// ParserError 3147: (25-26): Enum with no members is not allowed.