mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
consistency: unordered list for restrictions
This commit is contained in:
parent
8f04c59046
commit
648bb484ac
@ -1161,11 +1161,11 @@ Interfaces
|
||||
|
||||
Interfaces are similar to abstract contracts, but they cannot have any functions implemented. There are further restrictions:
|
||||
|
||||
#. Cannot inherit other contracts or interfaces.
|
||||
#. Cannot define constructor.
|
||||
#. Cannot define variables.
|
||||
#. Cannot define structs.
|
||||
#. Cannot define enums.
|
||||
- Cannot inherit other contracts or interfaces.
|
||||
- Cannot define constructor.
|
||||
- Cannot define variables.
|
||||
- Cannot define structs.
|
||||
- Cannot define enums.
|
||||
|
||||
Some of these restrictions might be lifted in the future.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user