mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Disallow enums in interfaces
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user