Disallow enums in interfaces

This commit is contained in:
Alex Beregszaszi
2017-03-17 17:06:52 +00:00
parent 16a91ef90a
commit 2c4bce2d62
4 changed files with 19 additions and 0 deletions
+1
View File
@@ -933,6 +933,7 @@ Interfaces are similar to abstract contracts, but they cannot have any functions
#. Cannot inherit other contracts or interfaces.
#. Cannot define variables.
#. Cannot define structs.
#. Cannot define enums.
Some of these restrictions might be lifted in the future.