aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-03-18 00:37:02 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-03-18 01:06:52 +0800
commitd5102c1db7cd2334e127ff684a6ecdd6aff156c6 (patch)
treee083e24cc36d0199e7c03d27c8d2f62265a4b2af /docs/contracts.rst
parent2c4bce2d62dc8bfc752858db12c625aec6e5960f (diff)
downloaddexon-solidity-d5102c1db7cd2334e127ff684a6ecdd6aff156c6.tar.gz
dexon-solidity-d5102c1db7cd2334e127ff684a6ecdd6aff156c6.tar.zst
dexon-solidity-d5102c1db7cd2334e127ff684a6ecdd6aff156c6.zip
Disallow constructor in interfaces
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r--docs/contracts.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 921d2870..28c003bd 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -931,6 +931,7 @@ 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.