aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-03-04 02:26:54 +0800
committerchriseth <c@ethdev.com>2017-03-13 20:30:23 +0800
commit592cec7e9074313e7ce5539769c065ecf5cbba12 (patch)
tree72a26e95183f4356f68e9ae5c02756062a58415d /docs/contracts.rst
parent4077e56a2fad49227e7fe4c1ed4ff81462fc6a9a (diff)
downloaddexon-solidity-592cec7e9074313e7ce5539769c065ecf5cbba12.tar
dexon-solidity-592cec7e9074313e7ce5539769c065ecf5cbba12.tar.gz
dexon-solidity-592cec7e9074313e7ce5539769c065ecf5cbba12.tar.bz2
dexon-solidity-592cec7e9074313e7ce5539769c065ecf5cbba12.tar.lz
dexon-solidity-592cec7e9074313e7ce5539769c065ecf5cbba12.tar.xz
dexon-solidity-592cec7e9074313e7ce5539769c065ecf5cbba12.tar.zst
dexon-solidity-592cec7e9074313e7ce5539769c065ecf5cbba12.zip
Disallow constants that are neither value types nor strings.
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r--docs/contracts.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 52dd440a..f15dc122 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -433,6 +433,9 @@ assigned a value or expression which is a constant at compile time. The compiler
not reserve a storage slot for these variables and every occurrence is
replaced by their constant value (which might be computed by the optimizer).
+Not all types for constants are implemented at this time. The only supported types are
+value types and strings.
+
::
pragma solidity ^0.4.0;