aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-03-16 06:12:31 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-03-18 01:06:52 +0800
commit2c4bce2d62dc8bfc752858db12c625aec6e5960f (patch)
tree2899876e56f303de00c637ce3e82f37fb004ebef /docs
parent16a91ef90aaf589361e34a10dcee2181ba6cb2ed (diff)
downloaddexon-solidity-2c4bce2d62dc8bfc752858db12c625aec6e5960f.tar
dexon-solidity-2c4bce2d62dc8bfc752858db12c625aec6e5960f.tar.gz
dexon-solidity-2c4bce2d62dc8bfc752858db12c625aec6e5960f.tar.bz2
dexon-solidity-2c4bce2d62dc8bfc752858db12c625aec6e5960f.tar.lz
dexon-solidity-2c4bce2d62dc8bfc752858db12c625aec6e5960f.tar.xz
dexon-solidity-2c4bce2d62dc8bfc752858db12c625aec6e5960f.tar.zst
dexon-solidity-2c4bce2d62dc8bfc752858db12c625aec6e5960f.zip
Disallow enums in interfaces
Diffstat (limited to 'docs')
-rw-r--r--docs/contracts.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 33627b92..921d2870 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -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.