mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #4202 from wjmelements/ordered-list
consistency: use unordered lists for restrictions
This commit is contained in:
commit
b1aa283122
@ -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